hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Vary (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-21557) Query based compaction fails with NullPointerException: Non-local session path expected to be non-null
Date Tue, 02 Apr 2019 13:10:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-21557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Peter Vary updated HIVE-21557:
------------------------------
       Resolution: Fixed
    Fix Version/s: 4.0.0
           Status: Resolved  (was: Patch Available)

Finally a green run!

Thanks for the review [~ashutoshc]!

> 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
>            Assignee: Peter Vary
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-21557.02.patch, HIVE-21557.03.patch, HIVE-21557.04.patch, HIVE-21557.patch
>
>
> {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)

Mime
View raw message