scala - How to Pass argument to Oozie -


my use case following, building oozie pipeline , need pass argument.

indeed spark job must receive string date argument , great pass argument oozie workflow in order use in spark submit. got idea ? didn't find answer on google

thanks

  1. create workflow.xml references variable inputdate

  2. create file job.properties defines default value inputdate

  3. run job using cli, overriding default value when needed:
    oozie job -run -config job.properties -dinputdate=2017-08-19

Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

What is happening when Matlab is starting a "parallel pool"? -

php - Cannot override Laravel Spark authentication with own implementation -