A few improvements on the LeaseRenewer.pendingCreates map
---------------------------------------------------------
Key: HDFS-1890
URL: https://issues.apache.org/jira/browse/HDFS-1890
Project: Hadoop HDFS
Issue Type: Improvement
Reporter: Tsz Wo (Nicholas), SZE
Assignee: Tsz Wo (Nicholas), SZE
Priority: Minor
- The class is better to be just a {{Map}} instead of a {{SortedMap}}.
- The value type is better to be {{DFSOutputStream}} instead of
{{OutputStream}}.
- The variable name is better to be filesBeingWritten instead of pendingCreates
since we have append.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira