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. 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

        Lars Hofhansl made changes -
        Fix Version/s 0.94.0 [ 12316419 ]
        stack made changes -
        Fix Version/s 0.95.0 [ 12324094 ]
        Fix Version/s 0.94.0 [ 12316419 ]
        Fix Version/s 0.92.2 [ 12319888 ]
        Fix Version/s 0.96.0 [ 12320040 ]
        Lars Hofhansl made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jonathan Hsieh made changes -
        Component/s replication [ 12313650 ]
        Jean-Daniel Cryans made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 0.96.0 [ 12320040 ]
        Fix Version/s 0.90.7 [ 12319481 ]
        Resolution Fixed [ 1 ]
        Jean-Daniel Cryans made changes -
        Attachment HBASE-5586-trunk.patch [ 12519471 ]
        Lars Hofhansl made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Lars Hofhansl made changes -
        Attachment 5586-v2.txt [ 12519453 ]
        Jean-Daniel Cryans made changes -
        Attachment HBASE-5586.java [ 12519361 ]
        Jean-Daniel Cryans made changes -
        Attachment HBASE-5586.java [ 12519341 ]
        Jean-Daniel Cryans made changes -
        Field Original Value New Value
        Assignee Jean-Daniel Cryans [ jdcryans ]
        Jean-Daniel Cryans created issue -

          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