You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2011/05/04 22:10:03 UTC

[jira] [Commented] (HDFS-1890) A few improvements on the LeaseRenewer.pendingCreates map

    [ 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