Return-Path: Delivered-To: apmail-lucene-hadoop-user-archive@locus.apache.org Received: (qmail 58421 invoked from network); 10 Jan 2007 05:46:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jan 2007 05:46:20 -0000 Received: (qmail 30848 invoked by uid 500); 10 Jan 2007 05:46:27 -0000 Delivered-To: apmail-lucene-hadoop-user-archive@lucene.apache.org Received: (qmail 30548 invoked by uid 500); 10 Jan 2007 05:46:26 -0000 Mailing-List: contact hadoop-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-user@lucene.apache.org Delivered-To: mailing list hadoop-user@lucene.apache.org Received: (qmail 30536 invoked by uid 99); 10 Jan 2007 05:46:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jan 2007 21:46:26 -0800 X-ASF-Spam-Status: No, hits=1.6 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS,MAILTO_TO_SPAM_ADDR X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [203.99.254.144] (HELO rsmtp2.corp.hki.yahoo.com) (203.99.254.144) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jan 2007 21:46:16 -0800 Received: from ddaslaptop (vpn-client7.bangalore.corp.yahoo.com [10.80.52.7]) (authenticated bits=0) by rsmtp2.corp.hki.yahoo.com (8.13.8/8.13.6/y.rout) with ESMTP id l0A5jb50000476 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Tue, 9 Jan 2007 21:45:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=from:to:subject:date:message-id:mime-version:content-type: content-transfer-encoding:x-mailer:in-reply-to:thread-index:x-mimeole; b=1NvdRZKLSUj+X8zNShRDohUSfVFI/3XqTGpYZVXHs/BNhh+D0dYkJDsMbtYleH0L From: "Devaraj Das" To: Subject: RE: getting "No FileSystem for scheme" error Date: Wed, 10 Jan 2007 11:15:36 +0530 Message-ID: <013a01c7347a$928172c0$592a500a@ds.corp.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Acc0XmF1PyENdw43R3i84/t6IZo8BQAHA2RQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Virus-Checked: Checked by ClamAV on apache.org I think you are somehow not using the latest hadoop-default.xml which has a value for the property fs.file.impl. Please use the hadoop-default.xml from the trunk for all the hadoop daemons/apps and check whether you still get the same errors/exceptions. > -----Original Message----- > From: Alejandro Abdelnur [mailto:tucu00@gmail.com] > Sent: Wednesday, January 10, 2007 7:53 AM > To: hadoop-user@lucene.apache.org > Subject: getting "No FileSystem for scheme" error > > I'm running from the trunk. > > I'm getting the following error in both local and server mode (in this > case > the scheme is hdfs) when trying to access DFS: > > Exception in thread "main" java.lang.RuntimeException: > java.io.IOException: > No FileSystem for scheme: file > at org.apache.hadoop.mapred.JobConf.getWorkingDirectory(JobConf.java > :247) > at org.apache.hadoop.mapred.JobConf.setInputPath(JobConf.java:150) > at org.apache.hadoop.examples.WordCount.main(WordCount.java:137) > Caused by: java.io.IOException: No FileSystem for scheme: file > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:157) > at org.apache.hadoop.fs.FileSystem.getNamed(FileSystem.java:119) > at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:91) > at org.apache.hadoop.mapred.JobConf.getWorkingDirectory(JobConf.java > :243) > ... 2 more > > > I've tracked to Line 155 of the FileSystem class is looking for " > fs.SCHEME.sdk" property to get the class but that property is not defined. > > Any setting I have missing? > > Thxs. > > Tucu