Hello, On Thu, May 5, 2011 at 12:04 AM, Himanshu Vashishtha <hv.cs...@gmail.com> wrote: > 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) >
Is something not working with your Hadoop cluster? It would seem that your NN came back up just fine, which is a good thing (it is just waiting now for the DNs to come back, as per the remaining part of the log -- ensure that all DNs are up as well). The logged exception is an INFO level one about something trying to add a dupe metric name. It should be investigated (has cropped up for many before), but it is pretty harmless I'd think. -- Harsh J