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

CompositeService should allow adding services while being inited

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.4.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      We can add services to a CompositeService. However, if we do that while initing the CompositeService, it leads to a ConcurrentModificationException.

      It would be nice to allow adding services even during the init of CompositeService.

        Attachments

        1. HADOOP-10085-002.patch
          36 kB
          Steve Loughran
        2. HADOOP-10085-003.patch
          36 kB
          Steve Loughran
        3. HADOOP-10085-004.patch
          37 kB
          Steve Loughran
        4. HADOOP-10085-005.patch
          37 kB
          Steve Loughran

          Activity

            People

            • Assignee:
              stevel@apache.org Steve Loughran
              Reporter:
              kasha Karthik Kambatla
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: