[
https://issues.apache.org/jira/browse/HBASE-10839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jimmy Xiang updated HBASE-10839:
--------------------------------
Attachment: hbase-10839_v2.patch
The unit test failed is not related. V1 fixed the NPE. However, there is some
configuration backward compatibility issue. Attached v2 that uses the original
master configuration parameters if login fails with the regionserver one.
> NullPointerException in construction of RegionServer in Security Cluster
> ------------------------------------------------------------------------
>
> Key: HBASE-10839
> URL: https://issues.apache.org/jira/browse/HBASE-10839
> Project: HBase
> Issue Type: Bug
> Components: regionserver
> Reporter: Liu Shaohui
> Assignee: Jimmy Xiang
> Priority: Critical
> Attachments: hbase-10839.patch, hbase-10839_v2.patch
>
>
> The initialization of secure rpc server depends on regionserver's servername
> and zooKeeper watcher. But, After HBASE-10569, they are null when creating
> secure rpc services.
> [~jxiang]
> {code}
> Caused by: java.lang.NullPointerException
> at
> org.apache.hadoop.hbase.ipc.RpcServer.createSecretManager(RpcServer.java:1974)
> at org.apache.hadoop.hbase.ipc.RpcServer.start(RpcServer.java:1945)
> at
> org.apache.hadoop.hbase.regionserver.RSRpcServices.<init>(RSRpcServices.java:706)
> at
> org.apache.hadoop.hbase.master.MasterRpcServices.<init>(MasterRpcServices.java:190)
> at
> org.apache.hadoop.hbase.master.HMaster.createRpcServices(HMaster.java:297)
> at
> org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:431)
> at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:234)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)