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 "John Zhuge (JIRA)" <ji...@apache.org> on 2017/05/21 07:12:04 UTC

[jira] [Created] (HDFS-11861) ipc.Client#sendRpcRequest should log request name

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