Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0C51E3D95 for ; Wed, 4 May 2011 19:00:43 +0000 (UTC) Received: (qmail 22192 invoked by uid 500); 4 May 2011 19:00:42 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 22166 invoked by uid 500); 4 May 2011 19:00:42 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 22158 invoked by uid 99); 4 May 2011 19:00:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2011 19:00:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2011 19:00:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2B9BEC1EFE for ; Wed, 4 May 2011 19:00:03 +0000 (UTC) Date: Wed, 4 May 2011 19:00:03 +0000 (UTC) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1324221307.22512.1304535603175.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <850214999.22402.1304532963168.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-1890) A few improvements on the LeaseRenewer.pendingCreates map MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-1890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated HDFS-1890: ----------------------------------------- Status: Patch Available (was: Open) > 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 > > > - 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