You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "tomscut (Jira)" <ji...@apache.org> on 2021/11/11 01:48:00 UTC

[jira] [Created] (HADOOP-18003) Add a method appendIfAbsent for CallerContext

tomscut created HADOOP-18003:
--------------------------------

             Summary: Add a method appendIfAbsent for CallerContext
                 Key: HADOOP-18003
                 URL: https://issues.apache.org/jira/browse/HADOOP-18003
             Project: Hadoop Common
          Issue Type: New Feature
            Reporter: tomscut
            Assignee: tomscut


As we discussed here [#3635.|#discussion_r746873078].]

In some cases, when we need to add a _key:value_ to the {_}CallerContext{_}, we need to check whether the _key_ already exists in the outer layer, which is a bit of a hassle. To solve this problem, we can add a new method {_}CallerContext#appendIfAbsent{_}.



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

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