Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-18003

Add a method appendIfAbsent for CallerContext

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      As we discussed here #3635.

      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.

      Attachments

        Issue Links

          Activity

            People

              tomscut Tao Li
              tomscut Tao Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m