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

BlockPoolSlice#addReplicaThreadPool static pool should be initialized by static method

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.3.0, 3.1.4, 3.2.2
    • Component/s: datanode
    • Labels:
      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

            • Assignee:
              surendrasingh Surendra Singh Lilhore
              Reporter:
              surendrasingh Surendra Singh Lilhore
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: