hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-5586) [replication] NPE in ReplicationSource when creating a stream to an inexistent cluster
Date Thu, 22 Mar 2012 17:36:22 GMT

     [ 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-trunk.patch

Thanks for the heavy lifting Lars.

Here's a patch for trunk, I set the test to Medium since it uses a ZK cluster, added a teardown,
and a missing license.
                
> [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: 5586-v2.txt, HBASE-5586-trunk.patch, 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

        

Mime
View raw message