AnsweredAssumed Answered

oozie with mapr

Question asked by sriharsha on Jan 3, 2013
Latest reply on Jan 4, 2013 by sriharsha
Hi,
i am new to MAPR and trying to run a oozie hive job and struck with this below any help would be helpful
<pre>
- USER[xxxxxxxx] GROUP[users] TOKEN[] APP[xxxxxxx-wf] JOB[0000287-121127101924844-oozie-root-W] ACTION[-] E1100: Command precondition does not hold before execution, [, coord action is null], Error Code: E1100
org.apache.oozie.command.PreconditionException: E1100: Command precondition does not hold before execution, [, coord action is null]
at org.apache.oozie.command.coord.CoordActionUpdateXCommand.eagerVerifyPrecondition
(CoordActionUpdateXCommand.java:173)
at org.apache.oozie.command.XCommand.call(XCommand.java:238)
at org.apache.oozie.command.wf.SignalXCommand.execute(SignalXCommand.java:304)
at org.apache.oozie.command.wf.SignalXCommand.execute(SignalXCommand.java:60)
at org.apache.oozie.command.XCommand.call(XCommand.java:257)
at org.apache.oozie.service.CallableQueueService$CompositeCallable.call
(CallableQueueService.java:297)
at org.apache.oozie.service.CallableQueueService$CompositeCallable.call
(CallableQueueService.java:244)
at org.apache.oozie.service.CallableQueueService$CallableWrapper.run
(CallableQueueService.java:163)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

</pre>

I found this in the jobtracker  any help........................................

<pre>
> Invoking Hive command line now >>>

424  [main] WARN  org.apache.hadoop.hive.conf.HiveConf  - DEPRECATED: Ignoring hive-default.xml found on the CLASSPATH at /tmp/mapr-hadoop/mapred/local/taskTracker/xxxxxxxxxx/jobcache/job_201212211214_0305/attempt_201212211214_0305_m_000000_0/work/hive-default.xml
783  [main] INFO  hive.ql.exec.HiveHistory  - Hive history file=/tmp/xxxxxxxxxxxxxxx/hive_job_log_xxxxxxxxxxx_201301041259_136725848.txt
907  [main] INFO  org.apache.hadoop.hive.ql.Driver  - <PERFLOG method=Driver.run>
907  [main] INFO  org.apache.hadoop.hive.ql.Driver  - <PERFLOG method=compile>
944  [main] INFO  hive.ql.parse.ParseDriver  - Parsing command: create database database_for_oozietest
1043 [main] INFO  hive.ql.parse.ParseDriver  - Parse Completed
1074 [main] INFO  org.apache.hadoop.hive.ql.Driver  - Semantic Analysis Completed
1092 [main] INFO  org.apache.hadoop.hive.ql.Driver  - Returning Hive schema: Schema(fieldSchemas:null, properties:null)
1092 [main] INFO  org.apache.hadoop.hive.ql.Driver  - </PERFLOG method=compile start=1357322395090 end=1357322395275 duration=185>
1092 [main] INFO  org.apache.hadoop.hive.ql.Driver  - <PERFLOG method=Driver.execute>
1092 [main] INFO  org.apache.hadoop.hive.ql.Driver  - Starting command: create database database_for_oozietest
1119 [main] ERROR org.apache.hadoop.hive.ql.Driver  - FAILED: Execution Error, return code -101 from org.apache.hadoop.hive.ql.exec.DDLTask
1119 [main] INFO  org.apache.hadoop.hive.ql.Driver  - </PERFLOG method=Driver.execute start=1357322395275 end=1357322395302 duration=27>
1119 [main] INFO  org.apache.hadoop.hive.ql.Driver  - <PERFLOG method=releaseLocks>
1119 [main] INFO  org.apache.hadoop.hive.ql.Driver  - </PERFLOG method=releaseLocks start=1357322395302 end=1357322395302 duration=0>
Intercepting System.exit(9)

<<< Invocation of Main class completed <<<

Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.HiveMain], exit code [9]

Oozie Launcher failed, finishing Hadoop job gracefully
</pre>

Outcomes