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

Lars Hofhansl commented on HBASE-6063:
--------------------------------------

+1

Going to commit soon, unless there are objections.
                
> Replication related failures on trunk after HBASE-5453
> ------------------------------------------------------
>
>                 Key: HBASE-6063
>                 URL: https://issues.apache.org/jira/browse/HBASE-6063
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.96.0
>            Reporter: Gregory Chanan
>            Assignee: Gregory Chanan
>         Attachments: HBASE-6063.patch
>
>
> HBASE-5453 added this line:
> {code}
> return ClusterId.parseFrom(data).toString();
> {code}
> in function:
> public static String readClusterIdZNode(ZooKeeperWatcher watcher)
> but this is not implemented, so you get log messages like:
> 2012-05-21 16:46:31,256 ERROR 
> [RegionServer:0;cloudera-vm,60456,1337643971995-EventThread] 
> zookeeper.ClientCnxn$EventThread(523): Error while calling watcher 
> java.lang.IllegalArgumentException: Invalid UUID string: 
> org.apache.hadoop.hbase.ClusterId@5563d208
>       at java.util.UUID.fromString(UUID.java:204)
>       at 
> org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.init(ReplicationSource.java:192)
>       at 
> org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceManager.getReplicationSource(ReplicationSourceManager.java:328)
>       at 
> org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceManager.addSource(ReplicationSourceManager.java:206)
>       at 
> org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceManager$PeersWatcher.nodeChildrenChanged(ReplicationSourceManager.java:505)
>       at 
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.process(ZooKeeperWatcher.java:300)
>       at 
> org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:521)
>       at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:497)
> 2012-05-21 16:46:31,256 ERROR 
> [RegionServer:0;cloudera-vm,50926,1337643981835-EventThread] 
> zookeeper.ClientCnxn$EventThread(523): Error while calling watcher 
> and replication fails because the ClusterId does not match what is expected.  
> Patch coming soon.

--
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

        

Reply via email to