Misc cleanup/logging improvements for branch-20-append
------------------------------------------------------
Key: HDFS-1248
URL: https://issues.apache.org/jira/browse/HDFS-1248
Project: Hadoop HDFS
Issue Type: Improvement
Components: data-node, name-node, test
Affects Versions: 0.20-append
Reporter: Todd Lipcon
Assignee: Todd Lipcon
Priority: Minor
Fix For: 0.20-append
Attachments: hdfs-1248.txt
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.