You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jimmy Xiang (JIRA)" <ji...@apache.org> on 2014/03/26 23:30:16 UTC

[jira] [Comment Edited] (HBASE-10839) NullPointerException in construction of RegionServer in Security Cluster

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

Jimmy Xiang edited comment on HBASE-10839 at 3/26/14 10:29 PM:
---------------------------------------------------------------

The unit test failusre 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.


was (Author: jxiang):
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)