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

Jing Zhao commented on HDFS-5199:
---------------------------------

A simple comment:

{code}
+    if (LOG.isDebugEnabled()) {
+      if (nfsproc3 == NFSPROC3.READ) {
+        LOG.debug("READ_RPC_CALL_START____" + xid);
+      } else if (nfsproc3 == NFSPROC3.WRITE) {
+        LOG.debug("WRITE_RPC_CALL_START____" + xid);
+      }
+    }
{code}

This part can be added into the read/write method, instead of handleInternal 
method.

Besides of this +1.
                
> Add more debug trace for NFS READ and WRITE
> -------------------------------------------
>
>                 Key: HDFS-5199
>                 URL: https://issues.apache.org/jira/browse/HDFS-5199
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: nfs
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>         Attachments: HDFS-5199.patch
>
>
> Before more sophisticated utility is added, the simple trace indicating 
> start/end serving request can help debug errors and collect statistic 
> information.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to