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

Misc cleanup/logging improvements for branch-20-append

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 0.20-append
    • 0.20-append
    • datanode, namenode, test
    • None

    Description

      Last remaining bits of my append branch that didn't fit elsewhere in JIRA (just misc cleanup)

      • Slight cleanup to recoverFile() function in TFA4
      • Improve error messages on OP_READ_BLOCK
      • Some comment cleanup in FSNamesystem
      • Remove toInodeUnderConstruction (not used)
      • Add some checks for null blocks to avoid NPE
      • Only log "inconsistent size" warnings at WARN level for non-under-construction blocks.
      • Redundant addStoredBlock calls are also not worthy of WARN level
      • Add some extra information to a warning in ReplicationTargetChooser

      This may need HDFS-1057 to be committed first to apply.

      Attachments

        1. hdfs-1248.txt
          9 kB
          Todd Lipcon

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: