Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-6690

NPE in tez session state

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.13.0
    • 0.13.0
    • None
    • None

    Description

      If hive.jar.directory isn't set hive will throw NPE in startup with tez:

      Exception in thread "main" java.lang.RuntimeException: java.lang.NullPointerException
      at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:344)
      at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:682)
      at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:626)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
      Caused by: java.lang.NullPointerException
      at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.createHiveExecLocalResource(TezSessionState.java:303)
      at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:130)
      at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:342)
      ... 7 more

      Attachments

        1. HIVE-6690.patch
          3 kB
          Sergey Shelukhin

        Activity

          People

            sershe Sergey Shelukhin
            sershe Sergey Shelukhin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: