Hello,
I want to schedule a Falcon process which invokes an oozie SSH action
workflow, the shell script need yesterday's date as a parameter and I used
below in Falcon process definition -
<properties>
<property name="source_type" value="mobile" />
<property name="feed_date" value="yesterday(0,0)" />
</properties>
but on execution this process throws below error -
UNKOWN_ERROR: Not able to execute ssh-base.sh on user@server | ErrorStream:
bash: -c: line 0: syntax error near unexpected token `(bash: -c: line 0:
`oozie-oozi/0007675-150518162055448-oozie-oozi-W/external--ssh/ssh-base.sh
FLATTEN_ARGS curl "
http://server:11000/oozie/callback?id=0007675-150518162055448-oozie-oozi-W@external&status=#status"
"--data-binary%%%@#stdout%%%--request%%%POST%%%--header%%%"content-type:text/plain""
0007675-150518162055448-oozie-oozi-W@ex
When I tried to run this process without feed_date property it executed
successfully.
Please suggest how canI pass yesterday's date to my Oozie workflow.
Regards,
Rishav