See https://issues.apache.org/jira/browse/HBASE-3071
On Fri, Apr 8, 2011 at 2:22 PM, Vivek Krishna <[email protected]> wrote: > Is there a procedure to decommission a region server? > > If I just kill a region server process, the master tries to reconnect again > and again and the master logs looks like this > > > 11/04/08 21:08:35 WARN util.FSUtils: Waited 2533953ms for lease recovery on > hdfs:// > xxx.compute-1.amazonaws.com:8020/hbase/.logs/xxx.internal,60020,1302293217355/ip-1xx2-119.ec2.internal%3A60020.1302293256478:org.apache.hadoop.hdfs.protocol.AlreadyBeingCreatedException: > failed > to create file > /hbase/.logs/ip-xx.internal,60020,1302293217355/ip-10-dd9.ec2.internal%3A60020.1302293256478 > for DFSClient_hb_m_ip-xx2.internal:60000_1302293244804 on client > 10.17.197.48, because this file is already being created by NN_Recovery on > ad > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInternal(FSNamesystem.java:1196) > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.appendFile(FSNamesystem.java:1284) > at > org.apache.hadoop.hdfs.server.namenode.NameNode.append(NameNode.java:596) > at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:557) > at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1416) > at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1412) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:396) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1115) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1410) > > > Viv >
