I am running a program with the following code.
[code]
............
conf.addResource(new
Path("file:///home/mac/software/hadoop/hadoop-0.20.2/conf/core-site.xml"));
fs = FileSystem.get(conf);
fs.delete(new
Path("hdfs://localhost:9000/user/mac/output/output-1"), true);
............
[/code]but I get the following exception, not sure what else configuration I would want to add. [code] Exception -- ....... Wrong FS: hdfs://localhost:9000/user/mac/output/output-1, expected: file:/// ....... [/code]
