Hi, The problem was solved after I added the names to the host.conf! Thanks,
-- Hamza I had the same problem, you will find it in the mail archive. > In my case it one box was unable to connect to the other. > There can be 2 cases, first may a fire wall block the ports or a > common case is that the network dns name and the name the box uses to > > identify itself against other boxes is different. > Check that you can telnet on the port or / and ping all boxes from > all other boxes by using the names that are setuped in the host.conf > Let me please know if this was also the problem in your case, since > > other people had this problem as well and we may should add this to > the faq. > > > Stefan > > > > On 12/6/05, Hamza Kaya <[EMAIL PROTECTED]> wrote: > > > > Hi, > > We hava a mapred setup on 4 machines. (1 namenode and 3 datanodes) > > I can access the file system from these machines without any problem. > > However, when I tried to write a file to the NDFS on a machine other > > than these 4 machines > > I got the following error: > > > > ~/nutch-mapred/bin$ ./nutch ndfs -put nutch nutch > > 051206 152157 parsing file:/home/agmlab/nutch-mapred/conf/nutch- > > default.xml > > 051206 152158 parsing file:/home/agmlab/nutch-mapred/conf/nutch-site.xml > > 051206 152158 No FS indicated, using default:192.168.15.118:9001 > > 051206 152158 Client connection to 192.168.15.118:9001: starting > > Exception in thread "main" java.io.IOException: Cannot create file > > /user/agmlab/nutch on client NDFSClient_1904460956 > > at org.apache.nutch.ipc.Client.call(Client.java:294) > > at org.apache.nutch.ipc.RPC$Invoker.invoke(RPC.java:128) > > at $Proxy0.create(Unknown Source) > > at > > org.apache.nutch.ndfs.NDFSClient$NDFSOutputStream.nextBlockOutputStream( > > NDFSClient.java:537) > > at org.apache.nutch.ndfs.NDFSClient$NDFSOutputStream.<init>( > > NDFSClient.java:512) > > at org.apache.nutch.ndfs.NDFSClient.create(NDFSClient.java:74) > > at org.apache.nutch.fs.NDFSFileSystem.createRaw( > > NDFSFileSystem.java:67) > > at org.apache.nutch.fs.NFSDataOutputStream$Summer.<init>( > > NFSDataOutputStream.java:41) > > at org.apache.nutch.fs.NFSDataOutputStream.<init>( > > NFSDataOutputStream.java:129) > > at org.apache.nutch.fs.NutchFileSystem.create( > > NutchFileSystem.java:175) > > at org.apache.nutch.fs.NutchFileSystem.create( > > NutchFileSystem.java:162) > > at org.apache.nutch.fs.NDFSFileSystem.doFromLocalFile( > > NDFSFileSystem.java:174) > > at org.apache.nutch.fs.NDFSFileSystem.copyFromLocalFile( > > NDFSFileSystem.java:149) > > at org.apache.nutch.fs.NDFSShell.copyFromLocal(NDFSShell.java > > :46) > > at org.apache.nutch.fs.NDFSShell.main(NDFSShell.java:234) > > > > From the same machine I was able to list the files and create > > directories. What may be the problem? > > > > Thanks. > > > > -- > > Hamza Kaya > > > >
