You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2015/06/30 14:08:05 UTC

[jira] [Commented] (HIVE-9566) HiveServer2 fails to start with NullPointerException

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

Hive QA commented on HIVE-9566:
-------------------------------



{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/12742713/HIVE-9566.patch

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 9033 tests executed
*Failed tests:*
{noformat}
TestCustomAuthentication - did not produce a TEST-*.xml file
{noformat}

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

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: 12742713 - PreCommit-HIVE-TRUNK-Build

> HiveServer2 fails to start with NullPointerException
> ----------------------------------------------------
>
>                 Key: HIVE-9566
>                 URL: https://issues.apache.org/jira/browse/HIVE-9566
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 0.13.0, 0.14.0, 0.13.1
>            Reporter: Na Yang
>            Assignee: Na Yang
>         Attachments: HIVE-9566-branch-0.13.patch, HIVE-9566-branch-0.14.patch, HIVE-9566-trunk.patch, HIVE-9566.patch
>
>
> hiveserver2 uses embedded metastore with default hive-site.xml configuration. 
> I use "hive --stop --service hiveserver2" command to stop the running hiveserver2 process and then use "hive --start --service hiveserver2" command to start the hiveserver2 service. I see the following exception in the hive.log file
> {noformat}
> java.lang.NullPointerException
>         at org.apache.hive.service.server.HiveServer2.stop(HiveServer2.java:104)
>         at org.apache.hive.service.server.HiveServer2.startHiveServer2(HiveServer2.java:138)
>         at org.apache.hive.service.server.HiveServer2.main(HiveServer2.java:171)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:212) 
> {noformat}
>  



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