hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vihang Karajgaonkar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-15574) Beeline '-f <file>' finishes correctly but with a NullPointerException
Date Tue, 10 Jan 2017 22:48:58 GMT

    [ https://issues.apache.org/jira/browse/HIVE-15574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15816425#comment-15816425
] 

Vihang Karajgaonkar commented on HIVE-15574:
--------------------------------------------

I can take a look ..

> Beeline '-f <file>' finishes correctly but with a NullPointerException
> ----------------------------------------------------------------------
>
>                 Key: HIVE-15574
>                 URL: https://issues.apache.org/jira/browse/HIVE-15574
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>    Affects Versions: 2.2.0
>            Reporter: Sergio Peña
>            Priority: Minor
>
> {noformat}
> $ ./execute-hive.sh --service beeline -u jdbc:hive2://localhost:10000 -f /tmp/a.sql
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in [jar:file:/home/ubuntu/hive/packaging/target/apache-hive-2.2.0-SNAPSHOT-bin/apache-hive-2.2.0-SNAPSHOT-bin/lib/log4j-slf4j-impl-2.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in [jar:file:/opt/hadoop/hadoop-2.6.1/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
> SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
> Connecting to jdbc:hive2://localhost:10000
> Connected to: Apache Hive (version 2.2.0-SNAPSHOT)
> Driver: Hive JDBC (version 2.2.0-SNAPSHOT)
> Transaction isolation: TRANSACTION_REPEATABLE_READ
> 0: jdbc:hive2://localhost:10000> select * from table1;
> +------------+--------------+
> | table1.id  | table1.part  |
> +------------+--------------+
> | 1          | 1            |
> | 2          | 2            |
> +------------+--------------+
> 2 rows selected (0.254 seconds)
> 0: jdbc:hive2://localhost:10000> 
> 0: jdbc:hive2://localhost:10000> 
> Closing: 0: jdbc:hive2://localhost:10000
> 17/01/10 16:33:38 [Thread-1]: WARN 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.6.1.jar:?]
> {format}



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

Mime
View raw message