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

Ryan Wu commented on HADOOP-15611:
----------------------------------

Hi [~linyiqun], the following output logs were tested in my local.
{noformat}
2018-07-24 14:24:16,431 DEBUG ipc.DecayRpcScheduler 
(DecayRpcScheduler.java:decayCurrentCounts(394)) - Start to decay current 
counts.

2018-07-24 14:24:16,431 DEBUG ipc.DecayRpcScheduler 
(DecayRpcScheduler.java:decayCurrentCounts(415)) - The decayed count for the 
user B is zero and being cleaned.

2018-07-24 14:24:16,431 DEBUG ipc.DecayRpcScheduler 
(DecayRpcScheduler.java:decayCurrentCounts(428)) - After decaying the stored 
counts, totalDecayedCount: 0, totalRawCallCount: 8.
{noformat}
{noformat}
2018-07-24 14:39:35,214 INFO  ipc.WeightedRoundRobinMultiplexer 
(WeightedRoundRobinMultiplexer.java:<init>(78)) - WeightedRoundRobinMultiplexer 
is being used.
2018-07-24 14:39:35,214 DEBUG ipc.WeightedRoundRobinMultiplexer 
(WeightedRoundRobinMultiplexer.java:moveToNextQueue(112)) - Moving to next 
queue from queue index 0 to index 1, number of requests left for current queue: 
2.
2018-07-24 14:39:35,215 DEBUG ipc.WeightedRoundRobinMultiplexer 
(WeightedRoundRobinMultiplexer.java:moveToNextQueue(112)) - Moving to next 
queue from queue index 1 to index 2, number of requests left for current queue: 
1.
2018-07-24 14:39:35,215 DEBUG ipc.WeightedRoundRobinMultiplexer 
(WeightedRoundRobinMultiplexer.java:moveToNextQueue(112)) - Moving to next 
queue from queue index 2 to index 0, number of requests left for current queue: 
4.
{noformat}

> Improve log in FairCallQueue
> ----------------------------
>
>                 Key: HADOOP-15611
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15611
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 3.1.0
>            Reporter: Ryan Wu
>            Priority: Minor
>         Attachments: HADOOP-15611.001.patch, HADOOP-15611.002.patch, 
> HADOOP-15611.003.patch
>
>
> In the usage of the FairCallQueue, we find there missing some Key log. Only a 
> few logs are printed, it makes us hard to learn and debug this feature.
> At least, following places can print more logs.
> * DecayRpcScheduler#decayCurrentCounts
> * WeightedRoundRobinMultiplexer#moveToNextQueue



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to