HBase
  1. HBase
  2. HBASE-5222

Stopping replication via the "stop_replication" command in hbase shell on a slave cluster isn't acknowledged in the replication sink

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 0.90.4
    • Fix Version/s: None
    • Component/s: Replication, shell
    • Labels:
      None

      Description

      After running "stop_replication" in the hbase shell on our slave cluster we saw replication continue for weeks. Turns out that the replication sink is missing a check to get the replication state and therefore continued to write.

        Activity

        Josh Wymer created issue -
        Josh Wymer made changes -
        Field Original Value New Value
        Link This issue is related to HBASE-3489 [ HBASE-3489 ]
        Josh Wymer made changes -
        Summary Stopping replication via the "stop_replication" command in hbase shell on a slave cluster doesn't prevent replication but does alter cleanup tasks Stopping replication via the "stop_replication" command in hbase shell on a slave cluster isn't acknowledged in the replication sink
        Description The problem showed itself when our /hbase/.oldlogs directory was not being cleaned up on our slave cluster. Turns out we had previously disabled replication manually by executing "stop_replication" in the hbase shell. Therefore, the clean old logs task (among others) was honoring that while the Replication Sink fails to check the same value. Therefore replication was still being written to the slave cluster (via replication sink) but the logs were being saved longer than the default 10 minutes as hbase stores them when stop_replication has been executed until it has been started again. After running "stop_replication" in the hbase shell on our slave cluster we saw replication continue for weeks. Turns out that the replication sink is missing a check to get the replication state and therefore continued to write.
        Josh Wymer made changes -
        Link This issue is related to HBASE-3489 [ HBASE-3489 ]
        Jonathan Hsieh made changes -
        Component/s replication [ 12313650 ]
        Component/s shell [ 12313571 ]
        Jean-Daniel Cryans made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Josh Wymer
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development