You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Peter Vary (JIRA)" <ji...@apache.org> on 2019/04/01 12:22:00 UTC

[jira] [Created] (HIVE-21557) Query based compaction fails with NullPointerException: Non-local session path expected to be non-null

Peter Vary created HIVE-21557:
---------------------------------

             Summary: Query based compaction fails with NullPointerException: Non-local session path expected to be non-null
                 Key: HIVE-21557
                 URL: https://issues.apache.org/jira/browse/HIVE-21557
             Project: Hive
          Issue Type: Bug
            Reporter: Peter Vary


{code:java}
2019-03-29T13:04:19.282Z hiveserver2-65d5bb4bd8-xx24r hiveserver2 1 db896a5e-5215-11e9-87ec-020c4712c37c [mdc@18060 class="compactor.CompactorMR" level="ERROR" thread="hiveserver2-65d5bb4bd8-xx24r-28"] org.apache.hadoop.hive.ql.metadata.HiveException: Failed to run drop table if exists default_tmp_compactor_asd_1553864659196
at org.apache.hadoop.hive.ql.DriverUtils.runOnDriver(DriverUtils.java:57)
at org.apache.hadoop.hive.ql.DriverUtils.runOnDriver(DriverUtils.java:34)
at org.apache.hadoop.hive.ql.txn.compactor.CompactorMR.runCrudCompaction(CompactorMR.java:408)
at org.apache.hadoop.hive.ql.txn.compactor.CompactorMR.run(CompactorMR.java:250)
at org.apache.hadoop.hive.ql.txn.compactor.Worker.run(Worker.java:194)
Caused by: java.lang.NullPointerException: Non-local session path expected to be non-null
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:228)
at org.apache.hadoop.hive.ql.session.SessionState.getHDFSSessionPath(SessionState.java:838)
at org.apache.hadoop.hive.ql.Context.<init>(Context.java:319)
at org.apache.hadoop.hive.ql.Context.<init>(Context.java:305)
at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:603)
at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1881)
at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:2004)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1764)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1753)
at org.apache.hadoop.hive.ql.DriverUtils.runOnDriver(DriverUtils.java:54){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)