Hi Moty, Thanks for letting us know that is is working for you now. Thanks, Ted. ...
Thanks for letting us know that is is working for you now.
I have a pig script which includes an "sh" command which executes sqoop. The pig script works fine when executed using "pig -f script.pig" but
fails when executed as part of an Oozie workflow.
Versions of each component:
Hadoop 18.104.22.168.3.0.0-107 (as part of HDP 1.2)
Apache Pig version 0.11.1.1.3.0.0-107 (rexported)
Oozie client build version: 22.214.171.124.3.0.0-107
We've been struglling with this issue and tried a few things (mostly with regards to classpaths of sqoop/pig/oozie) but none of them really helped.
We also tried to play with log4j properties with no luck.
The following exceptions are being logged to Oozie pig launcher map reduce job:
The following exception is thrown by sqoop:
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.apache.log4j.LogManager