Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 51203 invoked from network); 5 Jun 2009 18:05:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Jun 2009 18:05:28 -0000 Received: (qmail 18127 invoked by uid 500); 5 Jun 2009 18:05:39 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 18071 invoked by uid 500); 5 Jun 2009 18:05:39 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 18061 invoked by uid 99); 5 Jun 2009 18:05:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2009 18:05:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2009 18:05:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 791FE234C053 for ; Fri, 5 Jun 2009 11:05:07 -0700 (PDT) Message-ID: <1838125068.1244225107495.JavaMail.jira@brutus> Date: Fri, 5 Jun 2009 11:05:07 -0700 (PDT) From: "Raghu Angadi (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-5961) DataNode should understand generic hadoop options In-Reply-To: <957797577.1243975148378.JavaMail.jira@brutus> 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/HADOOP-5961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Raghu Angadi updated HADOOP-5961: --------------------------------- Tags: hdfs datanode Resolution: Fixed Fix Version/s: 0.2.1 Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) I just committed this. > DataNode should understand generic hadoop options > ------------------------------------------------- > > Key: HADOOP-5961 > URL: https://issues.apache.org/jira/browse/HADOOP-5961 > Project: Hadoop Core > Issue Type: Improvement > Components: dfs > Reporter: Raghu Angadi > Assignee: Raghu Angadi > Fix For: 0.2.1 > > Attachments: HADOOP-5961.patch, HADOOP-5961.patch, run-datanode.sh, run-datanode.sh > > > DataNode should use ToolRunner to parse generic hadoop options (like -Dconfig.var=value). Apart from being more consistent with rest of the hadoop programs, this is necessary to write a simple script to run multiple datanodes on the same node. > I had proposed a simple shell script to running multiple datanodes on a the user mailing list http://www.nabble.com/Contributing-to-hadoop-td22198897.html, but it requires that DataNode parses -D option. > I will submit a patch and a shell script that works. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.