Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3028

Oozie Pig Action fails with no python dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.3.0
    • 5.0.0b1, 4.3.1
    • build

    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
      
      1. /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

      Attachments

        1. OOZIE-3028-1.patch
          0.8 kB
          Artem Ervits
        2. OOZIE-3028-0.patch
          0.8 kB
          Artem Ervits

        Activity

          People

            dbist13 Artem Ervits
            prabhujoseph Prabhu Joseph
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: