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

ASF GitHub Bot logged work on HDFS-16431:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Jan/22 12:06
            Start Date: 20/Jan/22 12:06
    Worklog Time Spent: 10m 
      Work Description: smarthanwang opened a new pull request #3909:
URL: https://github.com/apache/hadoop/pull/3909


   JIRA https://issues.apache.org/jira/browse/HDFS-16431
   
   ### Description of PR
   
   The context of CallerContext would be truncated  when  it exceeds the 
maximum allowed length in server side. I think it's better to do check and 
truncate in client side to reduce the unnecessary overhead of network and 
memory for NN.
   
   ### How was this patch tested?
   
   Add some UTs to test the context would be truncated correctly .
   
   ### For code changes:
   
   1. Refactor CallerContext.Builder constrctor to simplify usage
   2. Do context truncate before CallerContext.Builder.build()
   
   
   
   


-- 
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.

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

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


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

            Worklog Id:     (was: 711998)
    Remaining Estimate: 0h
            Time Spent: 10m

> Truncate CallerContext in client side
> -------------------------------------
>
>                 Key: HDFS-16431
>                 URL: https://issues.apache.org/jira/browse/HDFS-16431
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: nn
>            Reporter: Chengwei Wang
>            Assignee: Chengwei Wang
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The context of CallerContext would be truncated  when  it exceeds the maximum 
> allowed length in server side. I think it's better to do check and truncate 
> in client side to reduce the unnecessary overhead of network and memory for 
> NN.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to