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

BlockPoolSlice ForkJoinPool introduced by HDFS-13768 breaks under Java SecurityManager

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.10.0, 3.2.0, 3.1.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      HDFS-13768 introduced ForkJoinPool to improve performance of BlockPoolSlice. The created ForkJoinPool doesn't pass in a custom thread factory and by default the thread factory prevents all privileges under the Java SecurityManager.

      This broke when integrating Hadoop 3.2.0 with Apache Solr in SOLR-9515.

      It isn't clear that the ForkJoinPool is necessary when a regular normal executor could work instead?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                krisden Kevin Risden
              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: