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

Fix number of threads in IPCLoggerChannel#createParallelExecutor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • journal-node
    • None
    • Reviewed

    Description

      The number of threads in IPCLoggerChannel#createParallelExecutor is elastic right now, make it fixed.
      Presently the corePoolSize is set to 1 and maximumPoolSize is set to numThread, but since the size of Queue is Integer.MAX, the queue doesn't tend to get full and threads are always confined to 1 irrespective of numThreads

      Attachments

        1. HDFS-15373-01.patch
          2 kB
          Ayush Saxena
        2. HDFS-15373-02.patch
          1 kB
          Ayush Saxena

        Activity

          People

            ayushtkn Ayush Saxena
            ayushtkn Ayush Saxena
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: