Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3B17818AEA for ; Tue, 19 May 2015 01:09:02 +0000 (UTC) Received: (qmail 31574 invoked by uid 500); 19 May 2015 01:09:02 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 31552 invoked by uid 500); 19 May 2015 01:09:02 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 31541 invoked by uid 99); 19 May 2015 01:09:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2015 01:09:02 +0000 Date: Tue, 19 May 2015 01:09:02 +0000 (UTC) From: "Hive QA (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-10731) NullPointerException in HiveParser.g MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-10731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14549602#comment-14549602 ] Hive QA commented on HIVE-10731: -------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12733638/HIVE-10731.01.patch {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 8946 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver_encryption_insert_partition_static {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3934/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3934/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-3934/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12733638 - PreCommit-HIVE-TRUNK-Build > NullPointerException in HiveParser.g > ------------------------------------ > > Key: HIVE-10731 > URL: https://issues.apache.org/jira/browse/HIVE-10731 > Project: Hive > Issue Type: Bug > Components: Query Planning > Affects Versions: 1.2.0 > Reporter: Xiu > Assignee: Pengcheng Xiong > Priority: Minor > Attachments: HIVE-10731.01.patch > > > In HiveParser.g: > {code:Java} > protected boolean useSQL11ReservedKeywordsForIdentifier() { > return !HiveConf.getBoolVar(hiveConf, HiveConf.ConfVars.HIVE_SUPPORT_SQL11_RESERVED_KEYWORDS); > } > {code} > NullPointerException is thrown when hiveConf is not set. > Stack trace: > {code:Java} > java.lang.NullPointerException > at org.apache.hadoop.hive.conf.HiveConf.getBoolVar(HiveConf.java:2583) > at org.apache.hadoop.hive.ql.parse.HiveParser.useSQL11ReservedKeywordsForIdentifier(HiveParser.java:1000) > at org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.useSQL11ReservedKeywordsForIdentifier(HiveParser_IdentifiersParser.java:726) > at org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.identifier(HiveParser_IdentifiersParser.java:10922) > at org.apache.hadoop.hive.ql.parse.HiveParser.identifier(HiveParser.java:45808) > at org.apache.hadoop.hive.ql.parse.HiveParser.columnNameType(HiveParser.java:38008) > at org.apache.hadoop.hive.ql.parse.HiveParser.columnNameTypeList(HiveParser.java:36167) > at org.apache.hadoop.hive.ql.parse.HiveParser.createTableStatement(HiveParser.java:5214) > at org.apache.hadoop.hive.ql.parse.HiveParser.ddlStatement(HiveParser.java:2640) > at org.apache.hadoop.hive.ql.parse.HiveParser.execStatement(HiveParser.java:1650) > at org.apache.hadoop.hive.ql.parse.HiveParser.statement(HiveParser.java:1109) > at org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:202) > at org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:166) > at org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:161) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)