Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 47537 invoked from network); 21 Feb 2006 22:55:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Feb 2006 22:55:36 -0000 Received: (qmail 13175 invoked by uid 500); 21 Feb 2006 22:55:35 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 13153 invoked by uid 500); 21 Feb 2006 22:55:35 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 13129 invoked by uid 99); 21 Feb 2006 22:55:34 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 14:55:34 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 602EDDF for ; Tue, 21 Feb 2006 23:55:13 +0100 (CET) Message-ID: <1047227843.1140562513391.JavaMail.jira@ajax.apache.org> Date: Tue, 21 Feb 2006 23:55:13 +0100 (CET) From: "Michel Tourn (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-49) JobClient cannot use a non-default server (unlike DFSShell) In-Reply-To: <475642315.1140560804678.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HADOOP-49?page=all ] Michel Tourn updated HADOOP-49: ------------------------------- Attachment: jcjt.patch > JobClient cannot use a non-default server (unlike DFSShell) > ----------------------------------------------------------- > > Key: HADOOP-49 > URL: http://issues.apache.org/jira/browse/HADOOP-49 > Project: Hadoop > Type: Improvement > Reporter: Michel Tourn > Attachments: jcjt.patch > > JobClient cannot use a non-default Job Tracker server: > It will use the Job Tracker specified in conf/hadoop-default.xml or conf/hadoop-site.xml > For users with multiple Hadoop systems, it is useful to be able to specify the Job Tracker. > Other hadoop command-line tools like DFSShell already have: > >bin/hadoop dfs > Usage: java DFSShell [-local | -dfs ] ... > Similarly I propose to add a -jt parameter: > >bin/hadoop job > JobClient -submit | -status | -kill [-jt |] > Where: -jt is similar to -dfs > And: -jt will load as a final resource: hadoop-.xml > The latter syntax is discoverable by users because on failure the tool will say: > >bin/hadoop job -kill m7n6pi -jt unknown > Exception in thread "main" java.lang.RuntimeException: hadoop-unknown.xml not found on CLASSPATH > Or in case of success: > >bin/hadoop job -kill job_m7n6pi -jt myconfig > 060221 221911 parsing file:/trunk/conf/hadoop-default.xml > 060221 221911 parsing file:/trunk/conf/hadoop-myconfig.xml > 060221 221911 parsing file:/trunk/conf/hadoop-site.xml > 060221 221911 Client connection to 66.196.91.10:7020: starting > And with a machine:port spec: > >bin/hadoop job -kill job_m7n6pi -jt machine:8020 > 060221 222109 parsing file:/trunk/conf/hadoop-default.xml > 060221 222109 parsing file:/trunk/conf/hadoop-site.xml > 060221 222109 Client connection to 66.196.91.10:8020: starting > Patch attached. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira