Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11861

ipc.Client.Connection#sendRpcRequest should log request name

    XMLWordPrintableJSON

Details

    Description

      ipc.Client.Connection#sendRpcRequest only logs the call id.

                      if (LOG.isDebugEnabled())
                        LOG.debug(getName() + " sending #" + call.id);
      

      It'd be much more helpful to log request name for several benefits:

      • Find out which requests sent to which target
      • Correlate with the debug log in ipc.Server.Handler

      Attachments

        1. HDFS-11861.001.patch
          1 kB
          John Zhuge

        Issue Links

          Activity

            People

              jzhuge John Zhuge
              jzhuge John Zhuge
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: