[ 
https://issues.apache.org/jira/browse/HADOOP-11245?focusedWorklogId=584933&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-584933
 ]

ASF GitHub Bot logged work on HADOOP-11245:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 19/Apr/21 07:38
            Start Date: 19/Apr/21 07:38
    Worklog Time Spent: 10m 
      Work Description: jojochuang commented on a change in pull request #2832:
URL: https://github.com/apache/hadoop/pull/2832#discussion_r615609787



##########
File path: 
hadoop-common-project/hadoop-nfs/src/main/java/org/apache/hadoop/oncrpc/RpcUtil.java
##########
@@ -62,75 +64,84 @@ public static FrameDecoder constructRpcFrameDecoder() {
    * RpcFrameDecoder is a stateful pipeline stage. It has to be constructed for
    * each RPC client.
    */
-  static class RpcFrameDecoder extends FrameDecoder {
+  static class RpcFrameDecoder extends ByteToMessageDecoder {
     public static final Logger LOG =
         LoggerFactory.getLogger(RpcFrameDecoder.class);
-    private ChannelBuffer currentFrame;
+    private boolean isLast;

Review comment:
       i can change it to volatile, but the RpcUtil object is created for each 
channel, it's not reused. I don't think this is needed.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 584933)
    Time Spent: 2h 40m  (was: 2.5h)

> Update NFS gateway to use Netty4
> --------------------------------
>
>                 Key: HADOOP-11245
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11245
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: nfs
>            Reporter: Brandon Li
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to