[ https://issues.apache.org/jira/browse/HBASE-5586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Daniel Cryans updated HBASE-5586: -------------------------------------- Attachment: HBASE-5586.java One line fix plus a whole new test. I'd like to add more testing in there eventually for other stuff. This is against 0.92, I'll have to port it to 0.94 and beyond. > [replication] NPE in ReplicationSource when creating a stream to an > inexistent cluster > -------------------------------------------------------------------------------------- > > Key: HBASE-5586 > URL: https://issues.apache.org/jira/browse/HBASE-5586 > Project: HBase > Issue Type: Bug > Affects Versions: 0.90.5 > Reporter: Jean-Daniel Cryans > Assignee: Jean-Daniel Cryans > Fix For: 0.90.7, 0.92.2, 0.94.0 > > Attachments: HBASE-5586.java, HBASE-5586.java > > > This is from 0.92.1-ish: > {noformat} > 2012-03-15 09:52:16,589 ERROR > org.apache.hadoop.hbase.replication.regionserver.ReplicationSource: > Unexpected exception in ReplicationSource, currentPath=null > java.lang.NullPointerException > at > org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.chooseSinks(ReplicationSource.java:223) > at > org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.connectToPeers(ReplicationSource.java:442) > at > org.apache.hadoop.hbase.replication.regionserver.ReplicationSource.run(ReplicationSource.java:246) > {noformat} > I wanted to add a replication stream to a cluster that wasn't existing yet so > that the logs would be buffered until then. This should just be treated as if > there was no region servers. -- 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