[jira] [Commented] (HDFS-13854) RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms unit.

2018-08-30 Thread Hudson (JIRA)


[ 
https://issues.apache.org/jira/browse/HDFS-13854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16598137#comment-16598137
 ] 

Hudson commented on HDFS-13854:
---

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14855 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/14855/])
HDFS-13854. RBF: The ProcessingAvgTime and ProxyAvgTime should display (brahma: 
rev 64ad0298d441559951bc9589a40f8aab17c93a5f)
* (edit) 
hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/metrics/FederationRPCMetrics.java
* (edit) 
hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/metrics/FederationRPCPerformanceMonitor.java


> RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms 
> unit.
> ---
>
> Key: HDFS-13854
> URL: https://issues.apache.org/jira/browse/HDFS-13854
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: federation, hdfs
>Affects Versions: 2.9.0, 3.0.0, 3.1.0
>Reporter: yanghuafeng
>Assignee: yanghuafeng
>Priority: Major
> Fix For: 2.9.2
>
> Attachments: HDFS-13854.001.patch, HDFS-13854.002.patch, 
> ganglia_jmx_compare1.jpg, ganglia_jmx_compare2.jpg
>
>
> In the FederationRPCMetrics, proxy time and processing time should be exposed 
> to the jmx or ganglia with ms units. Although the method toMS() exists, we 
> cannot get the correct proxy time and processing time by jmx and ganglia.



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

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13854) RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms unit.

2018-08-28 Thread Brahma Reddy Battula (JIRA)


[ 
https://issues.apache.org/jira/browse/HDFS-13854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16595441#comment-16595441
 ] 

Brahma Reddy Battula commented on HDFS-13854:
-

+1, Latest patch. Will commit shortly

bq.all of the methods use the Time.monotonicNow() to compute the time metric.

Yes, All will use Time.monotonicNow() .

> RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms 
> unit.
> ---
>
> Key: HDFS-13854
> URL: https://issues.apache.org/jira/browse/HDFS-13854
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: federation, hdfs
>Affects Versions: 2.9.0, 3.0.0, 3.1.0
>Reporter: yanghuafeng
>Assignee: yanghuafeng
>Priority: Major
> Attachments: HDFS-13854.001.patch, HDFS-13854.002.patch, 
> ganglia_jmx_compare1.jpg, ganglia_jmx_compare2.jpg
>
>
> In the FederationRPCMetrics, proxy time and processing time should be exposed 
> to the jmx or ganglia with ms units. Although the method toMS() exists, we 
> cannot get the correct proxy time and processing time by jmx and ganglia.



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

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13854) RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms unit.

2018-08-28 Thread JIRA


[ 
https://issues.apache.org/jira/browse/HDFS-13854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16595223#comment-16595223
 ] 

Íñigo Goiri commented on HDFS-13854:


Thanks [~hfyang20071] for checking.
The initial concern was to lose resolution but with milliseconds we should be 
fine.
Let's go with  [^HDFS-13854.002.patch].
+1

> RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms 
> unit.
> ---
>
> Key: HDFS-13854
> URL: https://issues.apache.org/jira/browse/HDFS-13854
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: federation, hdfs
>Affects Versions: 2.9.0, 3.0.0, 3.1.0
>Reporter: yanghuafeng
>Assignee: yanghuafeng
>Priority: Major
> Attachments: HDFS-13854.001.patch, HDFS-13854.002.patch, 
> ganglia_jmx_compare1.jpg, ganglia_jmx_compare2.jpg
>
>
> In the FederationRPCMetrics, proxy time and processing time should be exposed 
> to the jmx or ganglia with ms units. Although the method toMS() exists, we 
> cannot get the correct proxy time and processing time by jmx and ganglia.



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

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13854) RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms unit.

2018-08-27 Thread yanghuafeng (JIRA)


[ 
https://issues.apache.org/jira/browse/HDFS-13854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16594456#comment-16594456
 ] 

yanghuafeng commented on HDFS-13854:


I have checked the time in the NameNodeMetrics, FederationMetrics, 
NamenodeBeanMetrics, StateStoreMetrics. Except the NameNodeMetrics, others 
don't use the time or use the default value instead.

NameNodeMetrics:
{code:java}
public void addGenerateEDEKTime(long latency)
public void addWarmUpEDEKTime(long latency)
public void addResourceCheckTime(long latency)
public void addEditLogTailTime(long elapsed)
public void addEditLogFetchTime(long elapsed)
public void addNumEditLogLoaded(long loaded)
public void addEditLogTailInterval(long elapsed)
{code}
all of the methods use the Time.monotonicNow() to compute the time metric.

> RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms 
> unit.
> ---
>
> Key: HDFS-13854
> URL: https://issues.apache.org/jira/browse/HDFS-13854
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: federation, hdfs
>Affects Versions: 2.9.0, 3.0.0, 3.1.0
>Reporter: yanghuafeng
>Assignee: yanghuafeng
>Priority: Major
> Attachments: HDFS-13854.001.patch, HDFS-13854.002.patch, 
> ganglia_jmx_compare1.jpg, ganglia_jmx_compare2.jpg
>
>
> In the FederationRPCMetrics, proxy time and processing time should be exposed 
> to the jmx or ganglia with ms units. Although the method toMS() exists, we 
> cannot get the correct proxy time and processing time by jmx and ganglia.



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

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13854) RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms unit.

2018-08-27 Thread JIRA


[ 
https://issues.apache.org/jira/browse/HDFS-13854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16594163#comment-16594163
 ] 

Íñigo Goiri commented on HDFS-13854:


Got it, JMX returns by itself whatever we store.
OK, let's go for it.

Just for completeness, can you point to the code in the Namenode or the 
RPCServer to try to be as consistent as possible?

> RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms 
> unit.
> ---
>
> Key: HDFS-13854
> URL: https://issues.apache.org/jira/browse/HDFS-13854
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: federation, hdfs
>Affects Versions: 2.9.0, 3.0.0, 3.1.0
>Reporter: yanghuafeng
>Assignee: yanghuafeng
>Priority: Major
> Attachments: HDFS-13854.001.patch, HDFS-13854.002.patch, 
> ganglia_jmx_compare1.jpg, ganglia_jmx_compare2.jpg
>
>
> In the FederationRPCMetrics, proxy time and processing time should be exposed 
> to the jmx or ganglia with ms units. Although the method toMS() exists, we 
> cannot get the correct proxy time and processing time by jmx and ganglia.



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

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13854) RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms unit.

2018-08-26 Thread yanghuafeng (JIRA)


[ 
https://issues.apache.org/jira/browse/HDFS-13854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16593137#comment-16593137
 ] 

yanghuafeng commented on HDFS-13854:


At first storing the ns we cannot get the ms in the jmx like the attached 
picture. It is not friendly to display the metric.
Secondly is it better to store ms and output ms without some transfer? From my 
side, it is unnecessary to move ns to ms. I cannot find  the ns is a key point.

> RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms 
> unit.
> ---
>
> Key: HDFS-13854
> URL: https://issues.apache.org/jira/browse/HDFS-13854
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: federation, hdfs
>Affects Versions: 2.9.0, 3.0.0, 3.1.0
>Reporter: yanghuafeng
>Assignee: yanghuafeng
>Priority: Major
> Attachments: HDFS-13854.001.patch, HDFS-13854.002.patch, 
> ganglia_jmx_compare1.jpg, ganglia_jmx_compare2.jpg
>
>
> In the FederationRPCMetrics, proxy time and processing time should be exposed 
> to the jmx or ganglia with ms units. Although the method toMS() exists, we 
> cannot get the correct proxy time and processing time by jmx and ganglia.



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

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13854) RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms unit.

2018-08-26 Thread JIRA


[ 
https://issues.apache.org/jira/browse/HDFS-13854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16592957#comment-16592957
 ] 

Íñigo Goiri commented on HDFS-13854:


What are we unifying here? I'm not sure it is very different to store ns and 
output ms from storing ms and outputting that.
In any case, I would go for the solution used in the RPCServer or the Namenode 
itself.

> RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms 
> unit.
> ---
>
> Key: HDFS-13854
> URL: https://issues.apache.org/jira/browse/HDFS-13854
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: federation, hdfs
>Affects Versions: 2.9.0, 3.0.0, 3.1.0
>Reporter: yanghuafeng
>Assignee: yanghuafeng
>Priority: Major
> Attachments: HDFS-13854.001.patch, HDFS-13854.002.patch, 
> ganglia_jmx_compare1.jpg, ganglia_jmx_compare2.jpg
>
>
> In the FederationRPCMetrics, proxy time and processing time should be exposed 
> to the jmx or ganglia with ms units. Although the method toMS() exists, we 
> cannot get the correct proxy time and processing time by jmx and ganglia.



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

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13854) RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms unit.

2018-08-25 Thread yanghuafeng (JIRA)


[ 
https://issues.apache.org/jira/browse/HDFS-13854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16592596#comment-16592596
 ] 

yanghuafeng commented on HDFS-13854:


It is not wrong just improve to  unify the time unit. In the previous code 
nanoseconds is not better to display in the jmx. As we provide the toMS() to 
transfer the unit and the nanoseconds is really not essential, is it best to 
unify the proxy time unit with ms when storing?

> RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms 
> unit.
> ---
>
> Key: HDFS-13854
> URL: https://issues.apache.org/jira/browse/HDFS-13854
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: federation, hdfs
>Affects Versions: 2.9.0, 3.0.0, 3.1.0
>Reporter: yanghuafeng
>Assignee: yanghuafeng
>Priority: Major
> Attachments: HDFS-13854.001.patch, HDFS-13854.002.patch, 
> ganglia_jmx_compare1.jpg, ganglia_jmx_compare2.jpg
>
>
> In the FederationRPCMetrics, proxy time and processing time should be exposed 
> to the jmx or ganglia with ms units. Although the method toMS() exists, we 
> cannot get the correct proxy time and processing time by jmx and ganglia.



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

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13854) RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms unit.

2018-08-24 Thread JIRA


[ 
https://issues.apache.org/jira/browse/HDFS-13854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16591901#comment-16591901
 ] 

Íñigo Goiri commented on HDFS-13854:


BTW, I don't quite get why this was wrong.
We were storing nanoseconds and then when outputting using ms.
Now we directly store ms and outputting that.
Why is this different? Overflows? I think I'm missing something.

> RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms 
> unit.
> ---
>
> Key: HDFS-13854
> URL: https://issues.apache.org/jira/browse/HDFS-13854
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: federation, hdfs
>Affects Versions: 2.9.0, 3.0.0, 3.1.0
>Reporter: yanghuafeng
>Assignee: yanghuafeng
>Priority: Major
> Attachments: HDFS-13854.001.patch, HDFS-13854.002.patch, 
> ganglia_jmx_compare1.jpg, ganglia_jmx_compare2.jpg
>
>
> In the FederationRPCMetrics, proxy time and processing time should be exposed 
> to the jmx or ganglia with ms units. Although the method toMS() exists, we 
> cannot get the correct proxy time and processing time by jmx and ganglia.



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

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13854) RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms unit.

2018-08-24 Thread JIRA


[ 
https://issues.apache.org/jira/browse/HDFS-13854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16591894#comment-16591894
 ] 

Íñigo Goiri commented on HDFS-13854:


The code makes sense.

I think to prevent this from happening in the future we should add a unit test.
It's hard to check for actual values but we can check that the magnitude is 
correct.
However, from the screenshots, I think we can assume that some operations will 
take ms and not seconds.

> RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms 
> unit.
> ---
>
> Key: HDFS-13854
> URL: https://issues.apache.org/jira/browse/HDFS-13854
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: federation, hdfs
>Affects Versions: 2.9.0, 3.0.0, 3.1.0
>Reporter: yanghuafeng
>Assignee: yanghuafeng
>Priority: Major
> Attachments: HDFS-13854.001.patch, HDFS-13854.002.patch, 
> ganglia_jmx_compare1.jpg, ganglia_jmx_compare2.jpg
>
>
> In the FederationRPCMetrics, proxy time and processing time should be exposed 
> to the jmx or ganglia with ms units. Although the method toMS() exists, we 
> cannot get the correct proxy time and processing time by jmx and ganglia.



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

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13854) RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms unit.

2018-08-23 Thread genericqa (JIRA)


[ 
https://issues.apache.org/jira/browse/HDFS-13854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16591181#comment-16591181
 ] 

genericqa commented on HDFS-13854:
--

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m 
30s{color} | {color:blue} Docker mode activated. {color} |
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  
0s{color} | {color:green} The patch does not contain any @author tags. {color} |
| {color:red}-1{color} | {color:red} test4tests {color} | {color:red}  0m  
0s{color} | {color:red} The patch doesn't appear to include any new or modified 
tests. Please justify why no new tests are needed for this patch. Also please 
list what manual steps were performed to verify this patch. {color} |
|| || || || {color:brown} trunk Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 18m 
48s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 
29s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
20s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green}  0m 
31s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 
11m 47s{color} | {color:green} branch has no errors when building and testing 
our client artifacts. {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  0m 
50s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 
32s{color} | {color:green} trunk passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  0m 
29s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 
25s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  0m 
25s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
16s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green}  0m 
27s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m 
 0s{color} | {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 
12m 29s{color} | {color:green} patch has no errors when building and testing 
our client artifacts. {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  0m 
54s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 
30s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} unit {color} | {color:green} 16m  
4s{color} | {color:green} hadoop-hdfs-rbf in the patch passed. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 
24s{color} | {color:green} The patch does not generate ASF License warnings. 
{color} |
| {color:black}{color} | {color:black} {color} | {color:black} 66m 31s{color} | 
{color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:ba1ab08 |
| JIRA Issue | HDFS-13854 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12936945/HDFS-13854.002.patch |
| Optional Tests |  dupname  asflicense  compile  javac  javadoc  mvninstall  
mvnsite  unit  shadedclient  findbugs  checkstyle  |
| uname | Linux 3772d4b12f25 3.13.0-153-generic #203-Ubuntu SMP Thu Jun 14 
08:52:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /testptch/patchprocess/precommit/personality/provided.sh |
| git revision | trunk / 96c4575 |
| maven | version: Apache Maven 3.3.9 |
| Default Java | 1.8.0_181 |
| findbugs | v3.1.0-RC1 |
|  Test Results | 
https://builds.apache.org/job/PreCommit-HDFS-Build/24865/testReport/ |
| Max. process+thread count | 964 (vs. ulimit of 1) |
| modules | C: hadoop-hdfs-project/hadoop-hdfs-rbf U: 
hadoop-hdfs-project/hadoop-hdfs-rbf |
| Console output | 
https://builds.apache.org/job/PreCommit-HDFS-Build/24865/console |
| Powered by | Apache Yetus 0.8.0-SNAPSHOT   http://yetus.apache.org |


This message was automatically generated.



> RBF: The ProcessingAvgTime and 

[jira] [Commented] (HDFS-13854) RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms unit.

2018-08-23 Thread yanghuafeng (JIRA)


[ 
https://issues.apache.org/jira/browse/HDFS-13854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16591129#comment-16591129
 ] 

yanghuafeng commented on HDFS-13854:


you are right. It is better to use monotonicNow() instead of getNow(). Please 
review again. [~brahmareddy]

> RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms 
> unit.
> ---
>
> Key: HDFS-13854
> URL: https://issues.apache.org/jira/browse/HDFS-13854
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: federation, hdfs
>Affects Versions: 2.9.0, 3.0.0, 3.1.0
>Reporter: yanghuafeng
>Assignee: yanghuafeng
>Priority: Major
> Attachments: HDFS-13854.001.patch, HDFS-13854.002.patch, 
> ganglia_jmx_compare1.jpg, ganglia_jmx_compare2.jpg
>
>
> In the FederationRPCMetrics, proxy time and processing time should be exposed 
> to the jmx or ganglia with ms units. Although the method toMS() exists, we 
> cannot get the correct proxy time and processing time by jmx and ganglia.



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

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Commented] (HDFS-13854) RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms unit.

2018-08-23 Thread Brahma Reddy Battula (JIRA)


[ 
https://issues.apache.org/jira/browse/HDFS-13854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16589775#comment-16589775
 ] 

Brahma Reddy Battula commented on HDFS-13854:
-

thanks for reporting. How about changing monotonicNow()..? i.e 
START_TIME.set(monotonicNow());,PROXY_TIME.set(monotonicNow());

So that we can remove 
org.apache.hadoop.hdfs.server.federation.metrics.FederationRPCPerformanceMonitor#getNow..?

> RBF: The ProcessingAvgTime and ProxyAvgTime should display by JMX with ms 
> unit.
> ---
>
> Key: HDFS-13854
> URL: https://issues.apache.org/jira/browse/HDFS-13854
> Project: Hadoop HDFS
>  Issue Type: Improvement
>  Components: federation, hdfs
>Affects Versions: 2.9.0, 3.0.0, 3.1.0
>Reporter: yanghuafeng
>Assignee: yanghuafeng
>Priority: Major
> Attachments: HDFS-13854.001.patch, ganglia_jmx_compare1.jpg, 
> ganglia_jmx_compare2.jpg
>
>
> In the FederationRPCMetrics, proxy time and processing time should be exposed 
> to the jmx or ganglia with ms units. Although the method toMS() exists, we 
> cannot get the correct proxy time and processing time by jmx and ganglia.



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

-
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org