You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2018/09/12 08:42:53 UTC

[GitHub] kaxil commented on a change in pull request #3884: [AIRFLOW-3035] Allow custom 'job_error_states' in dataproc ops

kaxil commented on a change in pull request #3884: [AIRFLOW-3035] Allow custom 'job_error_states' in dataproc ops
URL: https://github.com/apache/incubator-airflow/pull/3884#discussion_r216943814
 
 

 ##########
 File path: airflow/contrib/operators/dataproc_operator.py
 ##########
 @@ -688,6 +688,10 @@ class DataProcPigOperator(BaseOperator):
     :type delegate_to: str
     :param region: The specified region where the dataproc cluster is created.
     :type region: str
+    :param job_error_states: Job states that should be considered error states.
+        Any states in this list will result in an error being raised and failure of the
+        task. Defaults to ``['ERROR']``.
 
 Review comment:
   Can you add an example here? For eg. something along the lines of "If you want to consider "CANCELLED" as errored state add ["CANCELLED"]". Also add all the possible states with "Possible Values: "

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services