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

Improve log message when it could not alloc enough blocks for EC

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha3
    • Fix Version/s: 3.0.0-beta1
    • Component/s: erasure-coding
    • Labels:
      None

      Description

      When an EC output stream could not alloc enough blocks for parity blocks, it sets the warning.

      if (blocks[i] == null) {
              LOG.warn("Failed to get block location for parity block, index=" + i);
      

      We should clarify the cause of this warning message.

        Attachments

        1. HDFS-12349.04.patch
          15 kB
          Lei (Eddy) Xu
        2. HDFS-12349.03.patch
          14 kB
          Lei (Eddy) Xu
        3. HDFS-12349.02.patch
          12 kB
          Lei (Eddy) Xu
        4. HDFS-12349.01.patch
          12 kB
          Lei (Eddy) Xu
        5. HDFS-12349.00.patch
          11 kB
          Lei (Eddy) Xu

          Activity

            People

            • Assignee:
              eddyxu Lei (Eddy) Xu
              Reporter:
              eddyxu Lei (Eddy) Xu
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: