Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-18223

Atlas hook impl jars should be copied instead of the top level atlas hive hook jars for oozie hive action

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.4.0
    • Component/s: ambari-server
    • Labels:
      None

      Description

      If we have the complete hive hook copied to Hive sharelib, then after localization all the classpaths are there and this leads to stack overflow errors like below

      oading data to table default.hcatprocesstest_output_table partition (dt=2010-01-01-20)
      Partition default.hcatprocesstest_output_table{dt=2010-01-01-20} stats: [numFiles=1, numRows=3, totalSize=30, rawDataSize=27]
      Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.HiveMain], main() threw exception, null
      java.lang.StackOverflowError
      	at java.lang.Exception.<init>(Exception.java:102)
      	at java.lang.ReflectiveOperationException.<init>(ReflectiveOperationException.java:89)
      	at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:72)
      	at sun.reflect.GeneratedConstructorAccessor21.newInstance(Unknown Source)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      	at java.lang.Class.newInstance(Class.java:442)
      	at org.apache.atlas.hive.hook.HiveHook.initialize(HiveHook.java:76)
      	at org.apache.atlas.hive.hook.HiveHook.<init>(HiveHook.java:41)
      	at sun.reflect.GeneratedConstructorAccessor21.newInstance(Unknown Source)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      	at java.lang.Class.newInstance(Class.java:442)
      

        Attachments

        1. AMBARI-18223.patch
          2 kB
          Venkat Ranganathan

          Activity

            People

            • Assignee:
              venkatnrangan Venkat Ranganathan
              Reporter:
              venkatnrangan Venkat Ranganathan
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: