Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-15010

BlockPoolSlice#addReplicaThreadPool static pool should be initialized by static method

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.2
    • 3.3.0, 3.1.4, 3.2.2
    • datanode
    • None

    Description

      BlockPoolSlice#initializeAddReplicaPool() method currently initialize the static thread pool instance. But when two BPServiceActor actor try to load block pool parallelly then it may create different instance.

      So BlockPoolSlice#initializeAddReplicaPool() method should be a static method.

      Attachments

        1. HDFS-15010.001.patch
          1 kB
          Surendra Singh Lilhore
        2. HDFS-15010.02.patch
          4 kB
          Surendra Singh Lilhore
        3. HDFS-15010.03.patch
          4 kB
          Surendra Singh Lilhore
        4. HDFS-15010.04.patch
          5 kB
          Surendra Singh Lilhore
        5. HDFS-15010.05.patch
          5 kB
          Surendra Singh Lilhore

        Activity

          People

            surendralilhore Surendra Singh Lilhore
            surendralilhore Surendra Singh Lilhore
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: