Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 35446 invoked from network); 24 Jul 2009 21:54:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Jul 2009 21:54:34 -0000 Received: (qmail 26551 invoked by uid 500); 24 Jul 2009 21:55:39 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 26506 invoked by uid 500); 24 Jul 2009 21:55:39 -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 26496 invoked by uid 99); 24 Jul 2009 21:55:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jul 2009 21:55:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jul 2009 21:55:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C60BC234C004 for ; Fri, 24 Jul 2009 14:55:14 -0700 (PDT) Message-ID: <410749459.1248472514799.JavaMail.jira@brutus> Date: Fri, 24 Jul 2009 14:55:14 -0700 (PDT) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Updated: (HDFS-501) Use enum to define the constants in DataTransferProtocol In-Reply-To: <302814536.1248380834931.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo (Nicholas), SZE updated HDFS-501: ---------------------------------------- Attachment: h501_20090724.patch h501_20090724.patch: define constants with enum. > Use enum to define the constants in DataTransferProtocol > -------------------------------------------------------- > > Key: HDFS-501 > URL: https://issues.apache.org/jira/browse/HDFS-501 > Project: Hadoop HDFS > Issue Type: Improvement > Components: data-node, hdfs client > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > Attachments: h501_20090724.patch > > > There are quite a few integer (int/byte) constants defined in DataTransferProtocol. It is better to replace them by enums. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.