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 65A9F48EC for ; Fri, 10 Jun 2011 23:19:20 +0000 (UTC) Received: (qmail 60499 invoked by uid 500); 10 Jun 2011 23:19:20 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 60468 invoked by uid 500); 10 Jun 2011 23:19:20 -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 60458 invoked by uid 99); 10 Jun 2011 23:19:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jun 2011 23:19:20 +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; Fri, 10 Jun 2011 23:19:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3995410E551 for ; Fri, 10 Jun 2011 23:18:59 +0000 (UTC) Date: Fri, 10 Jun 2011 23:18:59 +0000 (UTC) From: "Todd Lipcon (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <298504571.12719.1307747939232.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-2058) DataTransfer Protocol using protobufs 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-2058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon updated HDFS-2058: ------------------------------ Attachment: hdfs-2058.txt Attached new patch. bq. Name ProtoUtil.java HDFSProtoUtil.java Fixed (did HdfsProtoUtil for consistency with other classes in that package) bq. With change in build.xml, do you still need to add generated file? Yes, I provided the ant target for convenience, but I still think it's too painful to make all developers get protoc set up in their environment. It's hard enough for new contributors to get going on Hadoop, and if we make them install some native toolchain they aren't likely to have, it's even worse. As for the other comments, I agree they could be done separately. Regarding the @Test(expected=...) pattern, I find it problematic since I want to only be sure that the exception is thrown at that one spot in the test, and not earlier or later than it's supposed to be. > DataTransfer Protocol using protobufs > ------------------------------------- > > Key: HDFS-2058 > URL: https://issues.apache.org/jira/browse/HDFS-2058 > Project: Hadoop HDFS > Issue Type: New Feature > Affects Versions: 0.23.0 > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Fix For: 0.23.0 > > Attachments: HDFS-2058.patch, hdfs-2058.txt, hdfs-2058.txt, hdfs-2058.txt, hdfs-2058.txt, hdfs-2058.txt > > > We've been talking about this for a long time... would be nice to use something like protobufs or Thrift for some of our wire protocols. > I knocked together a prototype of DataTransferProtocol on top of proto bufs that seems to work. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira