2017-09-04 1 views
0

데이터 흐름 작업이 대시 보드 전체에 어지럽고 프로젝트에서 실패한 작업을 삭제하고 싶습니다. 그러나 대시 보드에서는 데이터 흐름 작업을 삭제할 수있는 옵션이 표시되지 않습니다. 나는gcloud 데이터 흐름 작업을 삭제하는 방법은 무엇입니까?

$ gcloud beta dataflow jobs delete 

사람이 좀 도와 주시겠습니까,

$ gcloud beta dataflow jobs delete JOB_ID 

모든 작업을 삭제하려면 아래 적어도 뭔가를 찾고 있어요?

답변

0

현재로서는 불가능합니다. 데이터 흐름 작업은 삭제할 수 없습니다. 이것은 public issue tracker을 통해 요청할 수있는 것입니다 (나는 과거에도 이것을 원했습니다).

gcloud dataflow jobs --help

COMMANDS

명령은 다음 중 하나입니다

그레이엄 언급
cancel 
    Cancels all jobs that match the command line arguments. 

describe 
    Outputs the Job object resulting from the Get API. 

drain 
    Drains all jobs that match the command line arguments. 

list 
    Lists all jobs in a particular project. 

run 
    Runs a job from the specified path. 

show 
    Shows a short description of the given job. 
0

으로는 데이터 흐름 작업을 삭제할 수 없습니다. 그러나 관심있는 작업 만 표시하도록 작업 목록을 필터링 할 수 있습니다. 예를 들어, Status:Running,Succeeded은 실패 또는 취소 된 작업을 모두 제외합니다.

명령 줄에

Dataflow Job filter

, 당신은 --status=(active|terminated|all) 사용할 수 있습니다

gcloud beta dataflow jobs list --status=active 
관련 문제