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 "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/11/11 01:53:00 UTC

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

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

ASF GitHub Bot logged work on HADOOP-18003:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Nov/21 01:52
            Start Date: 11/Nov/21 01:52
    Worklog Time Spent: 10m 
      Work Description: tomscut opened a new pull request #3644:
URL: https://github.com/apache/hadoop/pull/3644


   JIRA: [HADOOP-18003](https://issues.apache.org/jira/browse/HADOOP-18003).
   
   As we discussed here [#3635](https://github.com/apache/hadoop/pull/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 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-unsubscribe@hadoop.apache.org

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


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

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

> 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
>            Priority: Minor
>          Time Spent: 10m
>  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.1#820001)

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