FAQ
Hi, all. Today I noticed that my hadoop cluster (r0.20.0+jdk1.6) threw
some errors in RPC handling. Below is part of the content of namenode
log file:

2009-05-12 10:27:08,200 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:56)
at org.apache.hadoop.metrics.util.MetricsTimeVaryingRate.(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)
2009-05-12 10:27:08,200 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:56)
at org.apache.hadoop.metrics.util.MetricsTimeVaryingRate.(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)
2009-05-12 10:27:08,200 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:56)
at org.apache.hadoop.metrics.util.MetricsTimeVaryingRate.(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)
2009-05-12 10:27:08,276 INFO org.apache.hadoop.ipc.Server: Error
register getBuildVersion
java.lang.IllegalArgumentException: Duplicate metricsName:getBuildVersion
at org.apache.hadoop.metrics.util.MetricsRegistry.add(MetricsRegistry.java:56)
at org.apache.hadoop.metrics.util.MetricsTimeVaryingRate.(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)

I noticed that the similar error appears on the log in every datanode.
Can anybody tell me how to fix this?

I have patched this:
https://issues.apache.org/jira/browse/HADOOP-5139, but the error still
exist. I really don't know what to do and am expecting for your help!

Best regards,
Starry

/* Tomorrow is another day. So is today. */

Search Discussions

  • Starry SHI at May 14, 2009 at 12:49 pm
    Nobody has encountered with these problems: "Error
    register getProtocolVersion" and "Error
    register getBuildVersion"?

    Starry

    /* Tomorrow is another day. So is today. */


    On Tue, May 12, 2009 at 13:27, Starry SHI wrote:
    Hi, all. Today I noticed that my hadoop cluster (r0.20.0+jdk1.6) threw
    some errors in RPC handling. Below is part of the content of namenode
    log file:

    2009-05-12 10:27:08,200 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:56)
    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)
    2009-05-12 10:27:08,200 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:56)
    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)
    2009-05-12 10:27:08,200 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:56)
    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)
    2009-05-12 10:27:08,276 INFO org.apache.hadoop.ipc.Server: Error
    register getBuildVersion
    java.lang.IllegalArgumentException: Duplicate metricsName:getBuildVersion
    at org.apache.hadoop.metrics.util.MetricsRegistry.add(MetricsRegistry.java:56)
    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)

    I noticed that the similar error appears on the log in every datanode.
    Can anybody tell me how to fix this?

    I have patched this:
    https://issues.apache.org/jira/browse/HADOOP-5139, but the error still
    exist. I really don't know what to do and am expecting for your help!

    Best regards,
    Starry

    /* Tomorrow is another day. So is today. */
  • Abhishek Verma at May 14, 2009 at 3:42 pm
    Hi Starry,

    I noticed the same problem when I copied hadoop-metrics.properties from my
    old hadoop-0.19 conf along with the other files. Make sure you are using the
    right version of the conf files.

    Hope that helps.

    -Abhishek.
    On Thu, May 14, 2009 at 7:48 AM, Starry SHI wrote:

    Nobody has encountered with these problems: "Error
    register getProtocolVersion" and "Error
    register getBuildVersion"?

    Starry

    /* Tomorrow is another day. So is today. */


    On Tue, May 12, 2009 at 13:27, Starry SHI wrote:
    Hi, all. Today I noticed that my hadoop cluster (r0.20.0+jdk1.6) threw
    some errors in RPC handling. Below is part of the content of namenode
    log file:

    2009-05-12 10:27:08,200 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:56)
    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)
    2009-05-12 10:27:08,200 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:56)
    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)
    2009-05-12 10:27:08,200 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:56)
    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)
    2009-05-12 10:27:08,276 INFO org.apache.hadoop.ipc.Server: Error
    register getBuildVersion
    java.lang.IllegalArgumentException: Duplicate metricsName:getBuildVersion
    at
    org.apache.hadoop.metrics.util.MetricsRegistry.add(MetricsRegistry.java:56)
    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)

    I noticed that the similar error appears on the log in every datanode.
    Can anybody tell me how to fix this?

    I have patched this:
    https://issues.apache.org/jira/browse/HADOOP-5139, but the error still
    exist. I really don't know what to do and am expecting for your help!

    Best regards,
    Starry

    /* Tomorrow is another day. So is today. */

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedMay 12, '09 at 5:27a
activeMay 14, '09 at 3:42p
posts3
users2
websitehadoop.apache.org...
irc#hadoop

2 users in discussion

Starry SHI: 2 posts Abhishek Verma: 1 post

People

Translate

site design / logo © 2022 Grokbase