[
https://issues.apache.org/jira/browse/HBASE-7459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13540945#comment-13540945
]
Matteo Bertozzi commented on HBASE-7459:
----------------------------------------
spanReceiverHost is private and only the master uses that, so I'd say no need
to assign to null since is not exposed and we're in the shutdown phase. (not
that also the others assignmentManager, serverManager & co are not assigned to
null after shutdown)
> NPE in HMaster TestlocalHBaseCluster
> ------------------------------------
>
> Key: HBASE-7459
> URL: https://issues.apache.org/jira/browse/HBASE-7459
> Project: HBase
> Issue Type: Bug
> Components: master, test
> Affects Versions: hbase-6055, 0.96.0, hbase-7290
> Reporter: Jonathan Hsieh
> Assignee: Jonathan Hsieh
> Fix For: hbase-6055, 0.96.0, hbase-7290
>
> Attachments: hbase-7459.patch
>
>
> TestLocalHBaseCluster has failed intermittently on a unit test run with this
> exception stack.
> {code}
> java.lang.NullPointerException
> at org.apache.hadoop.hbase.master.HMaster.shutdown(HMaster.java:2064)
> at
> org.apache.hadoop.hbase.util.JVMClusterUtil.shutdown(JVMClusterUtil.java:238)
> at
> org.apache.hadoop.hbase.LocalHBaseCluster.shutdown(LocalHBaseCluster.java:430)
> at
> org.apache.hadoop.hbase.TestLocalHBaseCluster.testLocalHBaseCluster(TestLocalHBaseCluster.java:71)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira