Hello all, I was running HDFS in standalone mode where the machine got accidently turned off. On resuming it back to normal, I got this exception: =================================================== 2011-05-04 11:27:54,441 INFO org.apache.hadoop.ipc.Server: IPC Server handler 9 on 54310: starting 2011-05-04 11:27:54,470 INFO org.apache.hadoop.ipc.Server: Error register getProtocolVersion java.lang.IllegalArgumentException: Duplicate metricsName:getProtocolVersion at org.apache.hadoop.metrics.util.MetricsRegistry.add(MetricsRegistry.java:53) at org.apache.hadoop.metrics.util.MetricsTimeVaryingRate.<init>(MetricsTimeVaryingRate.java:89) at org.apache.hadoop.metrics.util.MetricsTimeVaryingRate.<init>(MetricsTimeVaryingRate.java:99) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:523) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:961) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:957) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:396) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:955)
2011-05-04 11:33:54,457 INFO org.apache.hadoop.hdfs.StateChange: BLOCK* NameSystem.registerDatanode: node registration from 129.128.184.45:50010storage DS- 1165063231-129.128.184.45-50010-1303260104336 2011-05-04 11:33:54,460 INFO org.apache.hadoop.net<http://org.apache.hadoop.net.net/>.NetworkTopology: Adding a new node: /default-rack/129.128.184.45:50010 2011-05-04 11:33:54,472 INFO org.apache.hadoop.hdfs.StateChange: STATE* Safe mode ON. The ratio of reported blocks 0.0055 has not reached the threshold 0.9990. Safe mode will be turned off automatically. ================================================== I didn't recompile or did anything of that sort (as suggested by some previous related threads). I am using the compile version though: 0.20.3.SNAPSHOT (append version). Interesting thing is it resumes after a gap of 6 minutes. Can it be a dns issue? Though HBase got restarted it without any glitch. It may be like I am missing something obvious, please let me know that. I haven't look at HDFS code yet, but can do so if I get some pointers. Thanks, Himanshu