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 338A374E2 for ; Tue, 1 Nov 2011 18:31:58 +0000 (UTC) Received: (qmail 62524 invoked by uid 500); 1 Nov 2011 18:31:57 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 62475 invoked by uid 500); 1 Nov 2011 18:31: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 62451 invoked by uid 99); 1 Nov 2011 18:31:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 18:31:57 +0000 X-ASF-Spam-Status: No, hits=-2001.2 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; Tue, 01 Nov 2011 18:31:54 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0A1BD32CF9F for ; Tue, 1 Nov 2011 18:31:34 +0000 (UTC) Date: Tue, 1 Nov 2011 18:31:34 +0000 (UTC) From: "Suresh Srinivas (Commented) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <35408700.46875.1320172294042.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1825956632.41337.1320079292277.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2517) Protobuf - Add protocol service for JournalProtocol 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-2517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13141439#comment-13141439 ] Suresh Srinivas commented on HDFS-2517: --------------------------------------- bq. In enum NamenodeRoleProto shouldn't the first constant should start with zero, because the corresponding java enum doesn't assign any values I just chose the same values as defined in the java code. There is no rule to really start an enum with zero. It is actually a constant value. bq. StartLogSegmentResponseProto is empty, does it make sense to define an empty proto message to be used for all void returning rpc's? This is same as I posted in HDFS-2518, to keep StartLogSegmentResponseProto extensible. > Protobuf - Add protocol service for JournalProtocol > --------------------------------------------------- > > Key: HDFS-2517 > URL: https://issues.apache.org/jira/browse/HDFS-2517 > Project: Hadoop HDFS > Issue Type: New Feature > Components: name-node > Affects Versions: 0.23.0, 0.24.0 > Reporter: Suresh Srinivas > Assignee: Suresh Srinivas > Attachments: HDFS-2517.txt > > > This jira adds protobuf service for implementing journal protocol using protocol buffers. -- 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