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

Log message when DN is not selected for block replication

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha2
    • 2.9.0, 3.0.0-alpha4
    • None
    • None

    Description

      In HDFS-8946, a important message was removed.

      if (requiredSize > remaining - scheduledSize) {
            logNodeIsNotChosen(storage, "the node does not have enough "
                + storage.getStorageType() + " space"
                + " (required=" + requiredSize
                + ", scheduled=" + scheduledSize
                + ", remaining=" + remaining + ")");
            return false;
          }
      

      This log is important since it can tell us why DN is not selected for block replication. And it will be good for us to debug issues.

      Attachments

        1. HDFS-11494.001.patch
          0.9 kB
          Yiqun Lin
        2. HDFS-11494.002.patch
          0.9 kB
          Yiqun Lin

        Issue Links

          Activity

            People

              linyiqun Yiqun Lin
              linyiqun Yiqun Lin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: