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

MetaServerShutdownHandler may potentially keep bumping up DeadServer.numProcessing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.98.0, 0.95.0
    • None
    • None
    • Reviewed

    Description

          } catch (IOException ioe) {
            this.services.getExecutorService().submit(this);
            this.deadServers.add(serverName);
            throw new IOException("failed log splitting for " +
                serverName + ", will retry", ioe);
          }
      

      this.deadServers.add(serverName); will keep incrementing DeadServer.numProcessing

      We can't get rid of numProcessing by just checking deadServers.size() because deadServers is also used to report some historically failed RSs.

      Attachments

        1. 8097.txt
          0.7 kB
          Ted Yu
        2. hbase-8097_1.patch
          5 kB
          Jeffrey Zhong
        3. hbase-8097_v2.patch
          6 kB
          Jeffrey Zhong
        4. hbase-8097_v3.patch
          6 kB
          Jeffrey Zhong

        Activity

          People

            jeffreyz Jeffrey Zhong
            jeffreyz Jeffrey Zhong
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: