Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-5586

[replication] NPE in ReplicationSource when creating a stream to an inexistent cluster

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.5
    • 0.94.0, 0.95.0
    • Replication
    • None
    • Reviewed

    Description

      This is from 0.92.1-ish:

      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)
      

      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.

      Attachments

        1. HBASE-5586-trunk.patch
          5 kB
          Jean-Daniel Cryans
        2. 5586-v2.txt
          4 kB
          Lars Hofhansl
        3. HBASE-5586.java
          3 kB
          Jean-Daniel Cryans
        4. HBASE-5586.java
          3 kB
          Jean-Daniel Cryans

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jdcryans Jean-Daniel Cryans
            jdcryans Jean-Daniel Cryans
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment