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 255D691C4 for ; Mon, 26 Mar 2012 20:11:11 +0000 (UTC) Received: (qmail 5823 invoked by uid 500); 26 Mar 2012 20:11:10 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 5791 invoked by uid 500); 26 Mar 2012 20:11:10 -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 5781 invoked by uid 99); 26 Mar 2012 20:11:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2012 20:11:10 +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; Mon, 26 Mar 2012 20:11:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 98FA1347E09 for ; Mon, 26 Mar 2012 20:10:47 +0000 (UTC) Date: Mon, 26 Mar 2012 20:10:47 +0000 (UTC) From: "Tsz Wo (Nicholas), SZE (Commented) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1837817436.19226.1332792647628.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <976430818.10453.1331688278126.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-3089) Move FSDatasetInterface and other related classes/interfaces to a package 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-3089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238762#comment-13238762 ] Tsz Wo (Nicholas), SZE commented on HDFS-3089: ---------------------------------------------- Hi Uma, thanks for the review. For 1), I removed it since VolumeChoosingPolicy is annotated as private like BlockPlacementPolicy. So it should not be in hdfs-default.xml, which should contain only public APIs. Advanced users could add this property if they want. For 2), we actually do not yet have a consistent naming convention. For examples, we have FsPermission, FsStatus, FsShell, FsServerDefaults, o.a.h.f.FsConstants, etc. but also FSDataInputStream, FSDataOutputStream, FSNamesystem, FSImage, etc. We had [a discussion|https://issues.apache.org/jira/browse/HDFS-245?focusedCommentId=12637296&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12637296] and I filed HADOOP-4357 some time back. Most public APIs use FsXxx. I think that FsXxx is preferred over FSXxx. So new classes should be named FsXxx instead. > Move FSDatasetInterface and other related classes/interfaces to a package > ------------------------------------------------------------------------- > > Key: HDFS-3089 > URL: https://issues.apache.org/jira/browse/HDFS-3089 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: data-node > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > Attachments: h3089_20120316_svn_mv.patch, h3089_20120319.patch, h3089_20120319_svn_mv.patch, h3089_20120321.patch, h3089_20120321b.patch, h3089_20120321b_svn_mv.patch, svn_mv.sh > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira