Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D7D19B3EB for ; Fri, 6 Jan 2012 14:03:07 +0000 (UTC) Received: (qmail 77521 invoked by uid 500); 6 Jan 2012 14:03:04 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 76110 invoked by uid 500); 6 Jan 2012 14:02:53 -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 75828 invoked by uid 99); 6 Jan 2012 14:02:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2012 14:02:50 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of harsh@cloudera.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-tul01m020-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2012 14:02:43 +0000 Received: by obcwn14 with SMTP id wn14so2600372obc.35 for ; Fri, 06 Jan 2012 06:02:22 -0800 (PST) Received: by 10.50.222.193 with SMTP id qo1mr7591236igc.22.1325858542561; Fri, 06 Jan 2012 06:02:22 -0800 (PST) Received: from [192.168.1.2] ([59.92.61.253]) by mx.google.com with ESMTPS id gf6sm129985603igb.1.2012.01.06.06.02.18 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 06 Jan 2012 06:02:21 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Expected file://// error From: Harsh J In-Reply-To: Date: Fri, 6 Jan 2012 19:32:10 +0530 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: common-user@hadoop.apache.org X-Mailer: Apple Mail (2.1084) What is your fs.default.name set to? It should be set to = hdfs://host:port and not just host:port. Can you ensure this and retry? On 06-Jan-2012, at 5:45 PM, Mark question wrote: > Hello, >=20 > I'm running two jobs on Hadoop-0.20.2 consecutively, such that the = second > one reads the output of the first which would look like: >=20 > outputPath/part-00000 > outputPath/_logs .... >=20 > But I get the error: >=20 > 12/01/06 03:29:34 WARN fs.FileSystem: "localhost:12123" is a = deprecated > filesystem name. Use "hdfs://localhost:12123/" instead. > java.lang.IllegalArgumentException: Wrong FS: > = hdfs://localhost:12123/tmp/hadoop-mark/mapred/system/job_201201060323_0005= /job.jar, > expected: file:/// > at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:310) > at > = org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java= :47) > at > = org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.j= ava:357) > at > = org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:= 245) > at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:192) > at > = org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1189) > at > = org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1165) > at > = org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1137) > at > = org.apache.hadoop.mapred.JobClient.configureCommandLineOptions(JobClient.j= ava:657) > at > = org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:761) > at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:730) > at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1249) > at Main.run(Main.java:301) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) > at Main.main(Main.java:53) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:= 39) > at > = sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm= pl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.util.RunJar.main(RunJar.java:156) >=20 >=20 > This looks similar to the problem described here but for older = versions > than mine: https://issues.apache.org/jira/browse/HADOOP-5259 >=20 > I tried applying that patch, but probably due to different versions = didn't > work. Can anyone help? > Thank you, > Mark