Hi,

with the latest mr branch I have a strange problem copy a file from local to the ndfs. Has anyone manage to use the ndfs client with this branch until last days? The problems occurs until connecting to a datanode to get the next free block:

cluster2:~/mr_nutch-0.8-dev myuser$ bin/nutch ndfs -copyFromLocal nutch-0.8-dev.jar /tester
HotSpot not at correct virtual address. Sharing disabled.
050930 112249 parsing file:/Users/myuser/mr_nutch-0.8-dev/conf/nutch- default.xml 050930 112249 parsing file:/Users/myuser/mr_nutch-0.8-dev/conf/nutch- site.xml
050930 112249 No FS indicated, using default:cluster02.bees.upd:7000
050930 112249 Client connection to 192.168.0.102:7000: starting
Exception in thread "main" java.lang.NullPointerException
        at java.net.Socket.<init>(Socket.java:301)
        at java.net.Socket.<init>(Socket.java:153)
at org.apache.nutch.ndfs.NDFSClient $NDFSOutputStream.nextBlockOutputStream(NDFSClient.java:601) at org.apache.nutch.ndfs.NDFSClient$NDFSOutputStream.<init> (NDFSClient.java:549)
        at org.apache.nutch.ndfs.NDFSClient.create(NDFSClient.java:83)
at org.apache.nutch.fs.NDFSFileSystem.create (NDFSFileSystem.java:76) at org.apache.nutch.fs.NDFSFileSystem.create (NDFSFileSystem.java:71) at org.apache.nutch.fs.NDFSFileSystem.doFromLocalFile (NDFSFileSystem.java:183) at org.apache.nutch.fs.NDFSFileSystem.copyFromLocalFile (NDFSFileSystem.java:158) at org.apache.nutch.fs.TestClient.copyFromLocal (TestClient.java:46)
        at org.apache.nutch.fs.TestClient.main(TestClient.java:234)
cluster2:~/mr_nutch-0.8-dev myuser$ bin/nutch ndfs -copyFromLocal nutch-0.8-dev.jar /tester

Any Ideas, may a problem of reverse dns entries? :-/

Thanks for any hints.
Stefan

Reply via email to