You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Elek, Marton (JIRA)" <ji...@apache.org> on 2017/10/13 11:51:00 UTC
[jira] [Created] (HDFS-12655) Ozone: use specific names for
RPC.Server instances
Elek, Marton created HDFS-12655:
-----------------------------------
Summary: Ozone: use specific names for RPC.Server instances
Key: HDFS-12655
URL: https://issues.apache.org/jira/browse/HDFS-12655
Project: Hadoop HDFS
Issue Type: Sub-task
Components: ozone
Affects Versions: HDFS-7240
Reporter: Elek, Marton
Assignee: Elek, Marton
My original motivation is using meaningful names on the scm web ui. As you can see on the attached screenshot we display the metrics for all the RPC servers (using hadoop metrics published on jmx). Unfortunatelly we can display only the port number on the web ui as there are no meaningfull names published on the jmx interface.
After some investigation I found that there is a serverName constructor parameter for but it is NOT used currently.
This patch will:
1. store the serverName in field of RPC.Server a
2. Improve the way how the serverName is calculated from the protocol class names (it's typically an anonnymous inner class, so I remove the unnecessary $-s from the name.)
3. Add a new tag to the RpcMetrics (serverName) based on the serverName field of the Rpc.Server It will be displayed over JMX
4. Add unit tests for checking the tag values and the default classname->servername mapping.
ps: I need it for Ozone SCM web ui, but let ne know if it should be moved to HADOOP project/trunk.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org