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 ABBD27597 for ; Tue, 22 Nov 2011 00:06:06 +0000 (UTC) Received: (qmail 76242 invoked by uid 500); 22 Nov 2011 00:06:06 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 76212 invoked by uid 500); 22 Nov 2011 00:06:06 -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 76204 invoked by uid 99); 22 Nov 2011 00:06:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2011 00:06:06 +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, 22 Nov 2011 00:06:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1255244728 for ; Tue, 22 Nov 2011 00:05:40 +0000 (UTC) Date: Tue, 22 Nov 2011 00:05:40 +0000 (UTC) From: "Suresh Srinivas (Commented) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1867734664.310.1321920340076.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <746725080.282.1321919619887.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2581) Implement protobuf 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-2581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13154748#comment-13154748 ] Suresh Srinivas commented on HDFS-2581: --------------------------------------- Here is the approach for implementing for protobuf service: Protobuf service generated code has BlockingInterface, which is expected to be implemented by Server. However, the existing protocol interface has various annotations (such as kerberos, idempotent etc.). The existing protocol interfaces also have version information and protocol signature, from VersionedProtocol interface. To support that: # An interface that extends generated BlockingInteface and VersionedProtocol is added. # In this interface all required annotations and implementations of VersionedProtocol methods are provided. # Server implementation extends this interface. # In a subsequent jira, which switches the RPC to use protobuf, the above interface will be used as interface on the server side. > Implement protobuf service for JournalProtocol > ---------------------------------------------- > > Key: HDFS-2581 > URL: https://issues.apache.org/jira/browse/HDFS-2581 > Project: Hadoop HDFS > Issue Type: New Feature > Components: name-node > Reporter: Suresh Srinivas > Assignee: Suresh Srinivas > Fix For: 0.24.0 > > Attachments: HDFS-2581.txt > > > This jira adds implementation for JournalProtocol protobuf service along the same lines as HDFS-2181 -- 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