Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 510BB200BF6 for ; Tue, 10 Jan 2017 23:36:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4FA82160B2C; Tue, 10 Jan 2017 22:36:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9A51E160B3D for ; Tue, 10 Jan 2017 23:35:59 +0100 (CET) Received: (qmail 37738 invoked by uid 500); 10 Jan 2017 22:35:58 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 37548 invoked by uid 99); 10 Jan 2017 22:35:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2017 22:35:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6AE662C2A66 for ; Tue, 10 Jan 2017 22:35:58 +0000 (UTC) Date: Tue, 10 Jan 2017 22:35:58 +0000 (UTC) From: =?utf-8?Q?Sergio_Pe=C3=B1a_=28JIRA=29?= To: dev@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HIVE-15574) Beeline '-f ' finishes correctly but with a NullPointerException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 10 Jan 2017 22:36:00 -0000 Sergio Pe=C3=B1a created HIVE-15574: ---------------------------------- Summary: Beeline '-f ' finishes correctly but with a Nul= lPointerException 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=C3=B1a Priority: Minor {noformat} $ ./execute-hive.sh --service beeline -u jdbc:hive2://localhost:10000 -f /t= mp/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-imp= l-2.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/opt/hadoop/hadoop-2.6.1/share/hadoop/com= mon/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explana= tion. SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFacto= ry] 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>=20 0: jdbc:hive2://localhost:10000>=20 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(ShutdownHookMan= ager.java:54) [hadoop-common-2.6.1.jar:?] {format} -- This message was sent by Atlassian JIRA (v6.3.4#6332)