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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.90.5
    • Fix Version/s: 0.94.0, 0.95.0
    • Component/s: Replication
    • Labels:
      None
    • Hadoop Flags:
      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. HBASE-5586.java
          3 kB
          Jean-Daniel Cryans
        3. HBASE-5586.java
          3 kB
          Jean-Daniel Cryans
        4. 5586-v2.txt
          4 kB
          Lars Hofhansl

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: