[ https://issues.apache.org/jira/browse/HIVE-6690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Shelukhin updated HIVE-6690: ----------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) committed to trunk and 13 > NPE in tez session state > ------------------------ > > Key: HIVE-6690 > URL: https://issues.apache.org/jira/browse/HIVE-6690 > Project: Hive > Issue Type: Bug > Affects Versions: 0.13.0 > Reporter: Sergey Shelukhin > Assignee: Sergey Shelukhin > Priority: Critical > Fix For: 0.13.0 > > Attachments: HIVE-6690.patch > > > 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 -- This message was sent by Atlassian JIRA (v6.2#6252)