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 "Takanobu Asanuma (Jira)" <ji...@apache.org> on 2023/02/23 08:00:00 UTC

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

    [ https://issues.apache.org/jira/browse/HADOOP-18003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17692554#comment-17692554 ] 

Takanobu Asanuma commented on HADOOP-18003:
-------------------------------------------

I added 3.3.5 to fix versions.

> 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: Tao Li
>            Assignee: Tao Li
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 3.4.0, 3.3.5
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> 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.10#820010)

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