Sandeep Pal created HBASE-25583:
-----------------------------------

             Summary: Handle the NoNode exception in remove log replication and 
avoid crash
                 Key: HBASE-25583
                 URL: https://issues.apache.org/jira/browse/HBASE-25583
             Project: HBase
          Issue Type: Bug
            Reporter: Sandeep Pal
            Assignee: Sandeep Pal


Should not crash the region server it there is a NoNode exception while 
removing the log
We should look into the excpetion and if it is NoNode we shouldn't crash. There 
might be a possiblity the node was deleted as part of peer tear down. 

`  @Override
  public void removeLog(String queueId, String filename) {
    try {
      String znode = ZKUtil.joinZNode(this.myQueuesZnode, queueId);
      znode = ZKUtil.joinZNode(znode, filename);
      ZKUtil.deleteNode(this.zookeeper, znode);
    } catch (KeeperException e) {

      this.abortable.abort("Failed to remove wal from queue (queueId=" + 
queueId + ", filename="
          + filename + ")", e);
    }
  }



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to