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

Hive QA commented on HIVE-11135:
--------------------------------



{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/12742330/HIVE-11135.1.patch

{color:red}ERROR:{color} -1 due to 9 failed/errored test(s), 9031 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_annotate_stats_groupby
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_annotate_stats_groupby2
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_annotate_stats_join_pkfk
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver_ql_rewrite_gbtoidx
org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver_ql_rewrite_gbtoidx_cbo_1
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_explainuser_2
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_tez_union_multiinsert
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_udf_assert_true
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_udf_assert_true2
{noformat}

Test results: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4417/testReport
Console output: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4417/console
Test logs: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-4417/

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: 9 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12742330 - PreCommit-HIVE-TRUNK-Build

> Fix the Beeline set and save command in order to avoid the 
> NullPointerException
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-11135
>                 URL: https://issues.apache.org/jira/browse/HIVE-11135
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>    Affects Versions: 2.0.0
>            Reporter: Shinichi Yamashita
>            Assignee: Shinichi Yamashita
>         Attachments: HIVE-11135.1.patch
>
>
> When I run set and save command at Beeline in my environment. And 
> NullPointerException occurred as follows.
> {code}
> [root@hive ~]# /usr/local/hive/bin/beeline
> Beeline version 2.0.0-SNAPSHOT by Apache Hive
> beeline> !set
> java.lang.NullPointerException
> beeline> !save
> Saving preferences to: /root/.beeline/beeline.properties
> java.lang.NullPointerException
> {code}
> This problem has occurred because the following method's return value in 
> BeeLineOpts#toProperties is null.
> {code}
> beeLine.getReflector().invoke(this, "get" + names[i], new 
> Object[0]).toString()
> {code}
> Therefore it is modified so as to avoid NullPointerException.



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

Reply via email to