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

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

                Author: ASF GitHub Bot
            Created on: 16/Nov/21 15:47
            Start Date: 16/Nov/21 15:47
    Worklog Time Spent: 10m 
      Work Description: tomscut commented on a change in pull request #3635:
URL: https://github.com/apache/hadoop/pull/3635#discussion_r750410323



##########
File path: 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/CallerContext.java
##########
@@ -228,6 +228,26 @@ public Builder append(String key, String value) {
       return this;
     }
 
+    /**
+     * Append new field which contains key and value to the context
+     * if the key("key:") is absent.
+     * @param key the key of field.
+     * @param value the value of field.
+     * @return the builder.
+     */
+    public Builder appendIfAbsent(String key, String value) {

Review comment:
       > As this is pretty core; I would prefer to do the changes to commons in 
a HADOOP JIRA.
   
   Hi @goiri , I filed a HADOOP JIRA 
[HADOOP-18003](https://issues.apache.org/jira/browse/HADOOP-18003) and the 
relevant PR has been merged. I rebased this PR. Could you please help review 
the code. Thank you very much.




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

    Worklog Id:     (was: 682061)
    Time Spent: 1.5h  (was: 1h 20m)

> RBF: Add client port to CallerContext for Router
> ------------------------------------------------
>
>                 Key: HDFS-16310
>                 URL: https://issues.apache.org/jira/browse/HDFS-16310
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: tomscut
>            Assignee: tomscut
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> We mentioned in [HDFS-16266|https://issues.apache.org/jira/browse/HDFS-16266] 
> that adding the client port to the CallerContext of the Router.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to