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 980F0DF6C for ; Wed, 1 Aug 2012 18:03:05 +0000 (UTC) Received: (qmail 81623 invoked by uid 500); 1 Aug 2012 18:03:04 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 81567 invoked by uid 500); 1 Aug 2012 18:03:04 -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 81324 invoked by uid 99); 1 Aug 2012 18:03:04 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 18:03:04 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 3B639142839 for ; Wed, 1 Aug 2012 18:03:04 +0000 (UTC) Date: Wed, 1 Aug 2012 18:03:04 +0000 (UTC) From: "Owen O'Malley (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <5605135.1570.1343844184245.JavaMail.jiratomcat@issues-vm> In-Reply-To: <475798212.6024.1327860790062.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2856) Fix block protocol so that Datanodes don't require root or jsvc 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-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13426786#comment-13426786 ] Owen O'Malley commented on HDFS-2856: ------------------------------------- We should move the protocol to be a handshake-based one. Devaraj, the place where we rejected the handshake was the shuffle where the number of small connections is very high. > Fix block protocol so that Datanodes don't require root or jsvc > --------------------------------------------------------------- > > Key: HDFS-2856 > URL: https://issues.apache.org/jira/browse/HDFS-2856 > Project: Hadoop HDFS > Issue Type: Improvement > Components: data-node, security > Reporter: Owen O'Malley > > Since we send the block tokens unencrypted to the datanode, we currently start the datanode as root using jsvc and get a secure (< 1024) port. > If we have the datanode generate a nonce and send it on the connection and the sends an hmac of the nonce back instead of the block token it won't reveal any secrets. Thus, we wouldn't require a secure port and would not require root or jsvc. -- 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