Project: springxd
Issue XD-578: Can't access HDFS using webhdfs protocol
http://localhost:8080:>hadoop config fs --namenode webhdfs://localhost:50070 http://localhost:8080:>hadoop fs ls / Hadoop configuration changed, re-initializing shell... run HDFS shell failed. Message is: org/mortbay/util/ajax/JSON This was on a hadoop 1.0.1 install The hdfs http interface was available $ curl -i "http://localhost:50070/webhdfs/v1/tmp?op=GETFILESTATUS" HTTP/1.1 200 OK Content-Type: application/json Transfer-Encoding: chunked Server: Jetty(6.1.26) {"FileStatus":{"accessTime":0,"blockSize":0,"group":"supergroup","length":0,"modificationTime":1365015846724,"owner":"mpollack","pathSuffix":"","permission":"777","replication":0,"type":"DIRECTORY"}}
Story points: 3