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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -