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

Should a failure in creating an unassigned node abort the master?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 0.90.5
    • 0.92.1, 0.94.0
    • master
    • None

    Description

      In AssignmentManager's CreateUnassignedAsyncCallback, we have the following condition:

      if (rc != 0) {
              // Thisis resultcode.  If non-zero, need to resubmit.
              LOG.warn("rc != 0 for " + path + " -- retryable connectionloss -- " +
                "FIX see http://wiki.apache.org/hadoop/ZooKeeper/FAQ#A2");
              this.zkw.abort("Connectionloss writing unassigned at " + path +
                ", rc=" + rc, null);
              return;
      }
      

      While a similar structure inside ExistsUnassignedAsyncCallback (which the above is linked to), does not have such a force abort.

      Do we really require the abort statement here, or can we make do without?

      Attachments

        1. HBASE-5281.patch
          0.8 kB
          Harsh J
        2. Tester.java
          6 kB
          Robert Justice

        Issue Links

          Activity

            People

              qwertymaniac Harsh J
              qwertymaniac Harsh J
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: