[
https://issues.apache.org/jira/browse/HDFS-16431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17479313#comment-17479313
]
Chengwei Wang commented on HDFS-16431:
--------------------------------------
Create pr [https://github.com/apache/hadoop/pull/3909.]
Refactor CallerContext.Builder constrctor to simplify usage and do context
truncate before _CallerContext.Builder.build()_
> 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
> Labels: pull-request-available
> 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: [email protected]
For additional commands, e-mail: [email protected]