hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chirag Dewan <chirag.de...@ericsson.com>
Subject Wrong FS hdfs:/localhost:9000 ;expected file///
Date Mon, 24 Feb 2014 12:36:36 GMT
Hi All,

I am new to hadoop. I am using hadoop 2.2.0. I have a simple client code which reads a file
from HDFS on a single node cluster. Now when I run my code using java -jar mytest.jar it throws
the error Wrong FS hdfs://localhost.

When I run the same code with hadoop jar test.jar it works just fine.
I have my core-site.xml with fs.default.name as hdfs://localhost

Am I missing some classpath dependency here?

Thanks in advance.

Chirag Dewan

View raw message