You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Merve Temizer <me...@gmail.com> on 2012/11/09 15:19:28 UTC

current leaseholder is trying to recreate file.

Hello,
I am trying to build Apache James from trunk, and using maven 3.

The build crashes as you can see below, thanks:

Running org.apache.james.domainlist.hbase.HBaseDomainListTest
2012-11-09 15:47:07,044 [main] WARN
 org.apache.hadoop.metrics2.impl.MetricsSystemImpl - Source name ugi
already exists!
2012-11-09 15:47:07,201 [main] WARN
 org.apache.hadoop.metrics2.impl.MetricsSystemImpl - Source name ugi
already exists!
Starting DataNode 0 with dfs.data.dir:
/home/merve/dev/source/james2/trunk/data-hbase/target/test-data/b84d7dd5-91ad-4082-b02f-411efb69948b/dfscluster_d7a93b05-d4b6-4248-80c6-7f509a9a3446/dfs/data/data1,/home/merve/dev/source/james2/trunk/data-hbase/target/test-data/b84d7dd5-91ad-4082-b02f-411efb69948b/dfscluster_d7a93b05-d4b6-4248-80c6-7f509a9a3446/dfs/data/data2
2012-11-09 15:47:07,877 [main] WARN
 org.apache.hadoop.metrics2.impl.MetricsSystemImpl - NameNode metrics
system already initialized!
2012-11-09 15:47:07,877 [main] WARN
 org.apache.hadoop.metrics2.impl.MetricsSystemImpl - Source name ugi
already exists!
2012-11-09 15:47:08,233 [main] WARN
 org.apache.hadoop.metrics2.impl.MetricsSystemImpl - Source name jvm
already exists!
2012-11-09 15:47:09,454 [IPC Server handler 2 on 28077] WARN
 org.apache.hadoop.hdfs.server.namenode.FSNamesystem - Not able to place
enough replicas, still in need of 1
2012-11-09 15:47:09,455 [IPC Server handler 2 on 28077] ERROR
org.apache.hadoop.security.UserGroupInformation -
PriviledgedActionException as:root cause:java.io.IOException: File
/user/root/hbase.version could only be replicated to 0 nodes, instead of 1
2012-11-09 15:47:09,456 [Thread-44] WARN  org.apache.hadoop.hdfs.DFSClient
- DataStreamer Exception: org.apache.hadoop.ipc.RemoteException:
java.io.IOException: File /user/root/hbase.version could only be replicated
to 0 nodes, instead of 1
at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:1556)
at
org.apache.hadoop.hdfs.server.namenode.NameNode.addBlock(NameNode.java:696)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:563)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1388)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1384)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1093)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1382)

at org.apache.hadoop.ipc.Client.call(Client.java:1066)
at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:225)
at $Proxy8.addBlock(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:82)
at
org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:59)
at $Proxy8.addBlock(Unknown Source)
at
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.locateFollowingBlock(DFSClient.java:3507)
at
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.nextBlockOutputStream(DFSClient.java:3370)
at
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.access$2700(DFSClient.java:2586)
at
org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:2826)

2012-11-09 15:47:09,460 [Thread-44] WARN  org.apache.hadoop.hdfs.DFSClient
- Error Recovery for block null bad datanode[0] nodes == null
2012-11-09 15:47:09,460 [Thread-44] WARN  org.apache.hadoop.hdfs.DFSClient
- Could not get block locations. Source file "/user/root/hbase.version" -
Aborting...
2012-11-09 15:47:09,462 [IPC Server handler 3 on 28077] WARN
 org.apache.hadoop.hdfs.StateChange - DIR* NameSystem.startFile: failed to
create file /user/root/hbase.version for DFSClient_1286943058 on client
127.0.0.1 because current leaseholder is trying to recreate file.
2012-11-09 15:47:09,463 [IPC Server handler 3 on 28077] ERROR
org.apache.hadoop.security.UserGroupInformation -
PriviledgedActionException as:root
cause:org.apache.hadoop.hdfs.protocol.AlreadyBeingCreatedException: failed
to create file /user/root/hbase.version for DFSClient_1286943058 on client
127.0.0.1 because current leaseholder is trying to recreate file.
2012-11-09 15:48:09,469 [IPC Server handler 6 on 28077] WARN
 org.apache.hadoop.hdfs.StateChange - DIR* NameSystem.startFile: failed to
create file /user/root/hbase.version for DFSClient_1286943058 on client
127.0.0.1 because current leaseholder is trying to recreate file.
2012-11-09 15:48:09,469 [IPC Server handler 6 on 28077] ERROR
org.apache.hadoop.security.UserGroupInformation -
PriviledgedActionException as:root
cause:org.apache.hadoop.hdfs.protocol.AlreadyBeingCreatedException: failed
to create file /user/root/hbase.version for DFSClient_1286943058 on client
127.0.0.1 because current leaseholder is trying to recreate file.
2012-11-09 15:49:09,477 [IPC Server handler 8 on 28077] WARN
 org.apache.hadoop.hdfs.StateChange - DIR* NameSystem.startFile: failed to
create file /user/root/hbase.version for DFSClient_1286943058 on client
127.0.0.1 because current leaseholder is trying to recreate file.
2012-11-09 15:49:09,477 [IPC Server handler 8 on 28077] ERROR
org.apache.hadoop.security.UserGroupInformation -
PriviledgedActionException as:root
cause:org.apache.hadoop.hdfs.protocol.AlreadyBeingCreatedException: failed
to create file /user/root/hbase.version for DFSClient_1286943058 on client
127.0.0.1 because current leaseholder is trying to recreate file.
2012-11-09 15:50:09,486 [IPC Server handler 1 on 28077] WARN
 org.apache.hadoop.hdfs.StateChange - DIR* NameSystem.startFile: failed to
create file /user/root/hbase.version for DFSClient_1286943058 on client
127.0.0.1 because current leaseholder is trying to recreate file.
2012-11-09 15:50:09,487 [IPC Server handler 1 on 28077] ERROR
org.apache.hadoop.security.UserGroupInformation -
PriviledgedActionException as:root
cause:org.apache.hadoop.hdfs.protocol.AlreadyBeingCreatedException: failed
to create file /user/root/hbase.version for DFSClient_1286943058 on client
127.0.0.1 because current leaseholder is trying to recreate file.
2012-11-09 15:51:09,495 [IPC Server handler 4 on 28077] WARN
 org.apache.hadoop.hdfs.StateChange - DIR* NameSystem.startFile: failed to
create file /user/root/hbase.version for DFSClient_1286943058 on client
127.0.0.1 because current leaseholder is trying to recreate file.
2012-11-09 15:51:09,496 [IPC Server handler 4 on 28077] ERROR
org.apache.hadoop.security.UserGroupInformation -
PriviledgedActionException as:root
cause:org.apache.hadoop.hdfs.protocol.AlreadyBeingCreatedException: failed
to create file /user/root/hbase.version for DFSClient_1286943058 on client
127.0.0.1 because current leaseholder is trying to recreate file.
2012-11-09 15:52:09,515 [IPC Server handler 7 on 28077] WARN
 org.apache.hadoop.hdfs.StateChange - DIR* NameSystem.startFile: failed to
create file /user/root/hbase.version for DFSClient_1286943058 on client
127.0.0.1 because current leaseholder is trying to recreate file.
2012-11-09 15:52:09,515 [IPC Server handler 7 on 28077] ERROR
org.apache.hadoop.security.UserGroupInformation -
PriviledgedActionException as:root
cause:org.apache.hadoop.hdfs.protocol.AlreadyBeingCreatedException: failed
to create file /user/root/hbase.version for DFSClient_1286943058 on client
127.0.0.1 because current leaseholder is trying to recreate file.
2012-11-09 15:52:09,521 [IPC Server handler 8 on 28077] WARN
 org.apache.hadoop.hdfs.StateChange - DIR* NameSystem.startFile: failed to
create file /user/root/hbase.version for DFSClient_1286943058 on client
127.0.0.1 because current leaseholder is trying to recreate file.
2012-11-09 15:52:09,522 [IPC Server handler 8 on 28077] ERROR
org.apache.hadoop.security.UserGroupInformation -
PriviledgedActionException as:root
cause:org.apache.hadoop.hdfs.protocol.AlreadyBeingCreatedException: failed
to create file /user/root/hbase.version for DFSClient_1286943058 on client
127.0.0.1 because current leaseholder is trying to recreate file.
2012-11-09 15:53:09,534 [IPC Server handler 1 on 28077] WARN
 org.apache.hadoop.hdfs.StateChange - DIR* NameSystem.startFile: failed to
create file /user/root/hbase.version for DFSClient_1286943058 on client
127.0.0.1 because current leaseholder is trying to recreate file.
2012-11-09 15:53:09,534 [IPC Server handler 1 on 28077] ERROR
org.apache.hadoop.security.UserGroupInformation -
PriviledgedActionException as:root
cause:org.apache.hadoop.hdfs.protocol.AlreadyBeingCreatedException: failed
to create file /user/root/hbase.version for DFSClient_1286943058 on client
127.0.0.1 because current leaseholder is trying to recreate file.
2012-11-09 15:54:09,547 [IPC Server handler 4 on 28077] WARN
 org.apache.hadoop.hdfs.StateChange - DIR* NameSystem.startFile: failed to
create file /user/root/hbase.version for DFSClient_1286943058 on client
127.0.0.1 because current leaseholder is trying to recreate file.