Description
Oozie Pig Action with Python script fails with below as the pig sharelib jython-2.5.3.jar does not have python dependencies. We should include jython-standalone jar into pig sharelib which has the right dependencies.
Caused by: java.lang.NoSuchFieldError: __code__ at org.apache.pig.scripting.jython.JythonFunction.<init>(JythonFunction.java:57) ... 51 more
- /usr/hdp/current/oozie-server/bin/oozie admin -shareliblist pig |grep jython
hdfs://mycluster/user/oozie/share/lib/lib_20170106054154/pig/jython-2.5.3.jar