hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14207) "dfsadmin -refreshCallQueue" command is failing with DecayRpcScheduler
Date Sat, 22 Apr 2017 16:45:04 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-14207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15980024#comment-15980024
] 

Xiaoyu Yao commented on HADOOP-14207:
-------------------------------------

Patch V3 looks good to me overall. Just have two more questions:

DecayRpcScheduler.java
Line 940: we should also remove the stale MetricsProxy instance from the static map (MetricsProxy.INSTANCES)
so that the new MetricsProxy instance will be created for the newly configured call queue.

TestRefreshCallQueue.java
Can we reusing the existing per test setUp/tearDown to avoid duplicating for the two methods?

> "dfsadmin -refreshCallQueue" command is failing with DecayRpcScheduler
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-14207
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14207
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: rpc-server
>            Reporter: Surendra Singh Lilhore
>            Assignee: Surendra Singh Lilhore
>            Priority: Blocker
>         Attachments: HADOOP-14207.001.patch, HADOOP-14207.002.patch, HADOOP-14207.003.patch
>
>
> {noformat}
> java.lang.RuntimeException: org.apache.hadoop.ipc.DecayRpcScheduler could not be constructed.
>         at org.apache.hadoop.ipc.CallQueueManager.createScheduler(CallQueueManager.java:89)
>         at org.apache.hadoop.ipc.CallQueueManager.swapQueue(CallQueueManager.java:260)
>         at org.apache.hadoop.ipc.Server.refreshCallQueue(Server.java:650)
>         at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.refreshCallQueue(NameNodeRpcServer.java:1582)
>         at org.apache.hadoop.ipc.protocolPB.RefreshCallQueueProtocolServerSideTranslatorPB.refreshCallQueue(RefreshCallQueueProtocolServerSideTranslatorPB.java:49)
>         at org.apache.hadoop.ipc.proto.RefreshCallQueueProtocolProtos$RefreshCallQueueProtocolService$2.callBlockingMethod(RefreshCallQueueProtocolProtos.java:769)
>         at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:447)
>         at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:989)
>         at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:845)
>         at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:788)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:422)
>         at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1807)
>         at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2455)
> Caused by: org.apache.hadoop.metrics2.MetricsException: Metrics source DecayRpcSchedulerMetrics2.ipc.65110
already exists!
>         at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.newSourceName(DefaultMetricsSystem.java:144)
>         at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.sourceName(DefaultMetricsSystem.java:117)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message