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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -