hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhishek Verma <vermaabhish...@gmail.com>
Subject Re: hadoop getProtocolVersion and getBuildVersion error
Date Thu, 14 May 2009 12:54:52 GMT
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 <starrysl@gmail.com> 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 <starrysl@gmail.com> 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. */
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message