[ 
https://issues.apache.org/jira/browse/HDFS-1890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028927#comment-13028927
 ] 

Tsz Wo (Nicholas), SZE commented on HDFS-1890:
----------------------------------------------

h1890_20110504b.patch: fixed some warnings.

> 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
>          Components: hdfs client
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>         Attachments: h1890_20110504.patch, h1890_20110504b.patch
>
>
> - 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

Reply via email to