hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Zhuge (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11861) ipc.Client#sendRpcRequest should log request name
Date Sun, 21 May 2017 07:12:04 GMT
John Zhuge created HDFS-11861:
---------------------------------

             Summary: ipc.Client#sendRpcRequest should log request name
                 Key: HDFS-11861
                 URL: https://issues.apache.org/jira/browse/HDFS-11861
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: ipc
    Affects Versions: 2.6.0
            Reporter: John Zhuge
            Assignee: John Zhuge
            Priority: Trivial


{{ipc.Client#sendRpcRequest}} only logs the call id.
{code}
                if (LOG.isDebugEnabled())
                  LOG.debug(getName() + " sending #" + call.id);
{code}

It'd much more helpful to log request name here for several benefits:
* Find out which requests sent to which target
* Correlate with the debug log in {{ipc.Server$Handler}}



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

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


Mime
View raw message