I want to have date and hour as  parameter to my hive workflow for previous
hour.
How can i replicate this in Ozzie coordinator. can you some one help.

In Linux

LoadDate=`date -d '1 hour ago' "+%Y-%m-%d"`
LoadHour=`date -d '1 hour ago' "+%-H"`


So at midnight , it will be previous day and hour is 23 and so on.

Reply via email to