Hey,

Search the archives. I think someone else (Tim Robertson maybe?) ran into this.

IIRC, it was a harmless message and the true error was elsewhere.

Brian

On Oct 22, 2009, at 9:55 PM, yibo820217 wrote:


hi,
this,I config the hdfs,config
conf/masters,slaves,core-site.xml,hdfs-site.xml,mapred-site.xml, and
hadoop-env.sh
then I go to start hdfs using bin/hadoop start-all.sh
but I find the logs in namenode is like this:

....
009-10-23 10:10:31,071 INFO org.mortbay.log: Started
[email protected]:50070
2009-10-23 10:10:31,071 INFO
org.apache.hadoop.hdfs.server.namenode.NameNode: Web-server up at:
0.0.0.0:50070
2009-10-23 10:10:31,072 INFO org.apache.hadoop.ipc.Server: IPC Server
Responder: starting
2009-10-23 10:10:31,072 INFO org.apache.hadoop.ipc.Server: IPC Server
listener on 9000: starting
2009-10-23 10:10:31,074 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 0 on 9000: starting
2009-10-23 10:10:31,074 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 1 on 9000: starting
2009-10-23 10:10:31,074 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 2 on 9000: starting
2009-10-23 10:10:31,074 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 3 on 9000: starting
2009-10-23 10:10:31,074 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 4 on 9000: starting
2009-10-23 10:10:31,074 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 5 on 9000: starting
2009-10-23 10:10:31,075 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 6 on 9000: starting
2009-10-23 10:10:31,075 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 7 on 9000: starting
2009-10-23 10:10:31,075 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 8 on 9000: starting
2009-10-23 10:10:31,075 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 9 on 9000: starting
2009-10-23 10:10:31,111 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:959)
       at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:955)
       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:953)
....

and namenode,datanode,secondary namenode are all normal.


I don't know the reason, can anybody tell me?
Thanks!
--
View this message in context: 
http://www.nabble.com/Error-register-getProtocolVersion-tp26020226p26020226.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to