Is your hdfs healthy? I usually see the error below when there are no datanodes running. St.Ack
On Wed, May 20, 2009 at 10:09 PM, Puri, Aseem <[email protected]>wrote: > Hi > > I am running map reduce row count program to count number of > rows in my HBase table. It is giving the following exception: > > > > 09/05/21 10:31:47 INFO hdfs.DFSClient: > org.apache.hadoop.ipc.RemoteException: java.io.IOException: File > /hadoop/mapred/system/job_200905211019_0003/job.jar could only be > replicated to 0 nodes, instead of 1 > > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(F > SNamesystem.java:1280) > > at > org.apache.hadoop.hdfs.server.namenode.NameNode.addBlock(NameNode.java:3 > 51) > > at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor > Impl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:481) > > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:894) > > > > at org.apache.hadoop.ipc.Client.call(Client.java:697) > > at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:216) > > at $Proxy0.addBlock(Unknown Source) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > at java.lang.reflect.Method.invoke(Unknown Source) > > at > org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvo > cationHandler.java:82) > > at > org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocation > Handler.java:59) > > at $Proxy0.addBlock(Unknown Source) > > at > org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.locateFollowingBlock(DF > SClient.java:2814) > > at > org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.nextBlockOutputStream(D > FSClient.java:2696) > > at > org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.access$2000(DFSClient.j > ava:1996) > > at > org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSCli > ent.java:2183) > > > > 09/05/21 10:31:47 WARN hdfs.DFSClient: NotReplicatedYetException > sleeping /hadoop/mapred/system/job_200905211019_0003/job.jar retries > left 4 > > > > Please tell me how I can solve this exception. > > > > Thanks & Regards > > Aseem Puri > > > > > >
