AnsweredAssumed Answered

Bug in removing node crashes CLDB

Question asked by impermisha on May 21, 2013
Latest reply on Jun 2, 2013 by nabeel
Using this command to remove a dead node
maprcli node remove -hostids <old_hostid>

It crashes CLDB. Sad times.
<pre>
2013-05-20 21:10:12,794 ERROR com.mapr.fs.cldb.CLDBServer [RPC-28]: RPC 2345.41 from 10.100.0.100:35318 Exception during processing RPC null java.lang.NullPointerException at com.mapr.fs.cldb.topology.Topology.removeFileServer(Topology.java:2142) at com.mapr.fs.cldb.CLDBServer.fileServerRemove(CLDBServer.java:5528) at com.mapr.fs.cldb.CLDBServer.processRpc(CLDBServer.java:3309) at com.mapr.fs.cldb.CLDBServer.requestArrived(CLDBServer.java:2218) at com.mapr.fs.Rpc$RpcExecutor.run(Rpc.java:150) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) 2013-05-20 21:10:12,839 ERROR com.mapr.fs.cldb.CLDBServer [RPC-28]: Thread: RPC-9 ID: 43 2013-05-20 21:10:12,839 ERROR com.mapr.fs.cldb.CLDBServer [RPC-28]: sun.misc.Unsafe.park(Native Method) 2013-05-20 21:10:12,839 ERROR com.mapr.fs.cldb.CLDBServer [RPC-28]: java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198) 2013-05-20 21:10:12,839 ERROR com.mapr.fs.cldb.CLDBServer [RPC-28]: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2025) 2013-05-20 21:10:12,839 ERROR com.mapr.fs.cldb.CLDBServer [RPC-28]: java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:424)

Outcomes