Support Questions

Find answers, ask questions, and share your expertise

In HDP 3.1.0, Oozie workflow failed for hive

New Contributor
Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.HiveCompatibilityMain], main() threw exception, null java.lang.NullPointerException     at     at     at org.apache.oozie.action.hadoop.HiveCompatibilityMain.main(     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(     at sun.reflect.DelegatingMethodAccessorImpl.invoke(     at java.lang.reflect.Method.invoke(     at     at     at org.apache.hadoop.mapred.MapTask.runOldMapper(     at     at org.apache.hadoop.mapred.YarnChild$     at Method)     at     at     at org.apache.hadoop.mapred.YarnChild.main( 
Oozie Launcher failed, finishing Hadoop job gracefully

New Contributor

In the meantime, I am able to resolve this issue. Since HDP 3.1 has beeline (as hive cli is depricated) need to add "<jdbc-url>" in the workflow.

New Contributor

Running hive in oozie with hive2action resolved the issue.

<hive2 xmlns="uri:oozie:hive2-action:0.1">


Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.