Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7739

ZKFC - transitionToActive is indefinitely waiting to complete fenceOldActive

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Not A Problem
    • Affects Version/s: 2.6.0
    • Fix Version/s: None
    • Component/s: auto-failover
    • Labels:
      None

      Description

      Scenario:

      One of the cluster disk got full and ZKFC making tranisionToAcitve ,To fence old active node it needs to execute the command and wait for tge result, since disk got full, strempumper thread will be indefinitely waiting( Even after free the disk also, it will not come out)...

      Please check the attached thread dump of ZKFC ..

      Better to maintain the timeout for stream-pumper thread .

      protected void pump() throws IOException {
          InputStreamReader inputStreamReader = new InputStreamReader(stream);
          BufferedReader br = new BufferedReader(inputStreamReader);
          String line = null;
          while ((line = br.readLine()) != null) {
            if (type == StreamType.STDOUT) {
              log.info(logPrefix + ": " + line);
            } else {
              log.warn(logPrefix + ": " + line);          
            }
      

        Attachments

        1. zkfctd.out
          13 kB
          Brahma Reddy Battula

          Activity

            People

            • Assignee:
              brahmareddy Brahma Reddy Battula
              Reporter:
              brahmareddy Brahma Reddy Battula
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: