hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj Das" <d...@yahoo-inc.com>
Subject RE: getting "No FileSystem for scheme" error
Date Wed, 10 Jan 2007 05:45:36 GMT
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


Mime
View raw message