[
https://issues.apache.org/jira/browse/HIVE-3057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287497#comment-13287497
]
Travis Crawford commented on HIVE-3057:
---------------------------------------
Looking at the Jenkins test report we see
{{org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_script_broken_pipe1}}
failed.
Running the test against trunk does not fail locally:
{code}
ant package test -Dtestcase=TestNegativeCliDriver -Dqfile=script_broken_pipe1.q
{code}
Looking through the failed test log we see this stack trace which does not
appear related to this change.
{code}
java.lang.RuntimeException: Not a host:port pair: abracadabra
at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:136)
at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:123)
at org.apache.hadoop.mapred.JobTracker.getAddress(JobTracker.java:1807)
at org.apache.hadoop.mapred.JobClient.init(JobClient.java:423)
at org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:410)
at
org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.java:418)
at
org.apache.hadoop.hive.ql.exec.MapRedTask.execute(MapRedTask.java:137)
at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:134)
at
org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:57)
at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1322)
at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1108)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:943)
at
org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:258)
at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:215)
at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:406)
at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:341)
at org.apache.hadoop.hive.ql.QTestUtil.executeClient(QTestUtil.java:669)
at
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_autolocal1(TestNegativeCliDriver.java:2410)
{code}
> metastore.HiveMetaStore$HMSHandler should set the thread local raw store to
> null in shutdown()
> ----------------------------------------------------------------------------------------------
>
> Key: HIVE-3057
> URL: https://issues.apache.org/jira/browse/HIVE-3057
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Affects Versions: 0.8.1, 0.9.0
> Reporter: Feng Peng
> Assignee: Travis Crawford
> Fix For: 0.10.0
>
> Attachments: HIVE-3057.1.patch
>
>
> The shutdown() function of metastore.HiveMetaStore$HMSHandler does not set
> the thread local RawStore variable (in threadLocalMS) to null. Subsequent
> getMS() calls may get the wrong RawStore object.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira