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 C43808D61 for ; Wed, 7 Sep 2011 12:39:00 +0000 (UTC) Received: (qmail 44541 invoked by uid 500); 7 Sep 2011 12:39:00 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 44078 invoked by uid 500); 7 Sep 2011 12:38:57 -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 43416 invoked by uid 99); 7 Sep 2011 12:38:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2011 12:38:54 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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, 07 Sep 2011 12:38:53 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3017585B3F for ; Wed, 7 Sep 2011 12:38:14 +0000 (UTC) Date: Wed, 7 Sep 2011 12:38:14 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <388046663.25381.1315399094193.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1044726580.6308.1311644709628.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2197) Refactor RPC call implementations out of NameNode class 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-2197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098890#comment-13098890 ] Hudson commented on HDFS-2197: ------------------------------ Integrated in Hadoop-Hdfs-trunk #786 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/786/]) HDFS-2314. MRV1 test compilation broken after HDFS-2197. Contributed by Todd Lipcon todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1165860 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/NameNodeAdapter.java > Refactor RPC call implementations out of NameNode class > ------------------------------------------------------- > > Key: HDFS-2197 > URL: https://issues.apache.org/jira/browse/HDFS-2197 > Project: Hadoop HDFS > Issue Type: Improvement > Components: name-node > Affects Versions: 0.23.0 > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Attachments: hdfs-2197-2.txt, hdfs-2197-3.txt, hdfs-2197-4.txt, hdfs-2197-trunk-final.txt, hdfs-2197.txt > > > For HA, the NameNode will gain a bit of a state machine, to be able to transition between standby and active states. This would be cleaner in the code if the {{NameNode}} class were just a container for various services, as discussed in HDFS-1974. It's also nice for testing, where it would become easier to construct just the RPC handlers around a mock NameSystem, with no HTTP server, for example. > This JIRA is to move all of the protocol implementations out of {{NameNode}} into a separate {{NameNodeRPCServer}} class. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira