HBase
  1. HBase
  2. HBASE-5586

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development