From common-user-return-20276-apmail-hadoop-common-user-archive=hadoop.apache.org@hadoop.apache.org Thu Feb 04 14:15:32 2010 Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 32281 invoked from network); 4 Feb 2010 14:15:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2010 14:15:32 -0000 Received: (qmail 58425 invoked by uid 500); 4 Feb 2010 14:15:29 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 58360 invoked by uid 500); 4 Feb 2010 14:15:29 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 58350 invoked by uid 99); 4 Feb 2010 14:15:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 14:15:29 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [202.165.103.48] (HELO web15903.mail.cnb.yahoo.com) (202.165.103.48) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 04 Feb 2010 14:15:18 +0000 Received: (qmail 36747 invoked by uid 60001); 4 Feb 2010 14:14:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.cn; s=s1024; t=1265292895; bh=jAdqQXgwvis5pTU2vorYqrgQy0RxerIWBCvaZ/rE89Y=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=IvpCz7/ig/vTWpKbPLqB4oZWixCZEs/wxPB35YwprMTZ2iCtKEgKAc48WMEK23noGJhfhaLfu8RfdXLiGLrIEssZylJ+SLH9Pxv0S3hCrNb//8h9txhYCy16Z6q068lJorZ63DFxPkBREnfrRXUblkp3CuPksMFoG7e2g9UVOoU= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=yJSQfEuy1utcebGYQmwVN2pSZ930+2oeOZknSFZ5+pdTLtWOQL7c7ZD+PHpUarifKxDGjpq2+orincOldqykoHnk7JsyQYjZNxz1qIYh+7TBP8RisgQbjyiuUNXa+Yy+bMUP9SqeObSZvWuX+Pqj+FWpnS5PiLLwI6eisL2pAWg=; Message-ID: <13989.35726.qm@web15903.mail.cnb.yahoo.com> X-YMail-OSG: gV8xpwcVM1kcrbz3v8ro.A_Un_4Tt69HWhXUfb2Of7U2qrjqpW7FFAJ0cBYgMTJ.pH0YPckqQVOhcD6l_8pVBgfb0rYnqhBD2aUbqvACU.ACmgRWXV0C43JgSRjTz7p9DWyxFrxNCAKr2U3H.Ka_ZBkDXruKMiVfDjZjGlk5tgDpQCKcdRSMciSlDaNKlcrGz437eXxxrkIXCcX9E8B0L1GEIRx3ui3mrHgChJ36tlxTM23pYKC8ZYjNOb_ppF5FObAwISAz7SohDd6uFzcg4uuazusn5a06Gaaf7HVong-- Received: from [152.3.136.188] by web15903.mail.cnb.yahoo.com via HTTP; Thu, 04 Feb 2010 22:14:54 CST X-Mailer: YahooMailRC/240.3 YahooMailWebService/0.8.100.260964 References: Date: Thu, 4 Feb 2010 22:14:54 +0800 (CST) From: Gang Luo Subject: Re: configuration file To: common-user@hadoop.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I give the path to that xml file in that command. Do I need to add that pat= h to classpath? I try to give a wrong path, there is no error reported.=0A= =0AAren't those parameters all configurable? like io.sort.mb, mapred.reduce= .tasks, io.sort.factor, etc. =0A=0AThanks.=0A-Gang=0A=0A=0A=0A=0A----- =D4= =AD=CA=BC=D3=CA=BC=FE ----=0A=B7=A2=BC=FE=C8=CB=A3=BA Amogh Vasekar =0A=CA=D5=BC=FE=C8=CB=A3=BA "common-user@hadoop.apache.org" <= common-user@hadoop.apache.org>=0A=B7=A2=CB=CD=C8=D5=C6=DA=A3=BA 2010/2/4 (= =D6=DC=CB=C4) 6:09:04 =C9=CF=CE=E7=0A=D6=F7 =CC=E2=A3=BA Re: configuratio= n file=0A=0AHi,=0AA shot in the dark, is the conf file in your classpath? I= f yes, are the parameters you are trying to override marked final?=0A=0AAmo= gh=0A=0A=0AOn 2/4/10 3:18 AM, "Gang Luo" wrote:=0A= =0AHi,=0AI am writing script to run whole bunch of jobs automatically. But = the configuration file doesn't seems working. I think there is something wr= ong in my command.=0A=0AThe command is my script is like:=0Abin/hadoop jar = myJarFile myClass -conf myConfigurationFilr.xml arg1 agr2 ....=0A=0AI use= conf.get() so show the value of some parameters. But the values are not wh= at I define in that xml file. Is there something wrong?=0A=0AThanks.=0A-Ga= ng=0A=0A=0A __________________________________________________________= _ =0A =BA=C3=CD=E6=BA=D8=BF=A8=B5=C8=C4=E3=B7=A2=A3=AC=D3=CA=CF=E4=BA=D8= =BF=A8=C8=AB=D0=C2=C9=CF=CF=DF=A3=A1 =0Ahttp://card.mail.cn.yahoo.com/