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

Fix potential NPE in Metrics2 source for DecayRpcScheduler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 3.0.0-alpha1
    • ipc
    • None
    • Reviewed

    Description

      HADOOP-12985 introduced a few metrics2 counters for DecayRpcScheduler. The counters should be initialized before the updater thread is created/executed. Otherwise, this is a chance of NPE if the updater thread get executed before the counters are fully initialized. I will post a patch for it shortly.

      Attachments

        1. HADOOP-13159.00.patch
          2 kB
          Xiaoyu Yao
        2. HADOOP-13159.01.patch
          2 kB
          Xiaoyu Yao
        3. HADOOP-13159.02.patch
          2 kB
          Xiaoyu Yao

        Issue Links

          Activity

            People

              xyao Xiaoyu Yao
              xyao Xiaoyu Yao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: