Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not able to run oozie workflow with java action

I am submitting a oozie workflow, I designed in Hue and it contains a few java actions.

Hue submits and attempts to execute the oozie workflow, I always get the following error.

 Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.JavaMain], main() threw exception, begin > end in range (begin, end)
Caused by java.lang.IllegalArgumentException: begin > end in range (begin, end): (1399708804155, 1399694415805)

I have no clue as to what it means and what I am supposed to do about it. From the error message, I am able to infer that the submission time of the workflow happens later than the completion time.

But I don't know what is causing this and what I need to do to fix this.

Any inputs on this will be helpful.

like image 805
anu Avatar asked May 10 '14 05:05

anu


1 Answers

I think you've got some clock skew between some of the hosts in your hadoop cluster. I'm guessing the oozie server and whichever host ran the launcher for your job. Those values look like timestamps in milliseconds since the epoch. And it would make sense for it to be an error if the begin timestamp was greater than the end timestamp.

like image 63
onlynone Avatar answered Nov 03 '22 01:11

onlynone