hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aihua Xu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-15275) "beeline -f <file>" will throw NPE
Date Thu, 01 Dec 2016 17:46:58 GMT

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

Aihua Xu updated HIVE-15275:
----------------------------
    Status: Patch Available  (was: Open)

patch-1: Change to only initialize history once and ConsoleReader will bind to that history.
Removed some hacky code which seems to workaround jLine issue but from the test, I don't see
any problems (not sure if it's caused by multiple history creations). 

Did manual tests.

> "beeline -f <file>" will throw NPE 
> -----------------------------------
>
>                 Key: HIVE-15275
>                 URL: https://issues.apache.org/jira/browse/HIVE-15275
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>    Affects Versions: 2.2.0
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>         Attachments: HIVE-15275.1.patch
>
>
> Execute {{"beeline -f <file>"}} and the command will throw the following NPE exception.
> {noformat}
> 2016-11-23T13:34:54,367 WARN [Thread-1] org.apache.hadoop.util.ShutdownHookManager -
ShutdownHook '' failed, java.lang.NullPointerException
> java.lang.NullPointerException
>         at org.apache.hive.beeline.BeeLine$1.run(BeeLine.java:1247) ~[hive-beeline-2.2.0-SNAPSHOT.jar:2.2.0-SNAPSHOT]
>         at org.apache.hadoop.util.ShutdownHookManager$1.run(ShutdownHookManager.java:54)
[hadoop-common-2.7.3.jar:?]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message