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

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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha3
    • 3.0.0-beta1
    • erasure-coding
    • 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.00.patch
          11 kB
          Lei (Eddy) Xu
        2. HDFS-12349.01.patch
          12 kB
          Lei (Eddy) Xu
        3. HDFS-12349.02.patch
          12 kB
          Lei (Eddy) Xu
        4. HDFS-12349.03.patch
          14 kB
          Lei (Eddy) Xu
        5. HDFS-12349.04.patch
          15 kB
          Lei (Eddy) Xu

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment