hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Abdelnur" <tuc...@gmail.com>
Subject getting "No FileSystem for scheme" error
Date Wed, 10 Jan 2007 02:23:23 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message