Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-20066

Add explicit SecurityManager(SparkConf) constructor for backwards compatibility with Java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.1.1, 2.2.0
    • None
    • Spark Core
    • None

    Description

      SPARK-19520 added an optional argument (ioEncryptionKey) to Security Manager class. And, it has a default value, so life is great.

      However, that's not enough when invoking the class from Java. We didn't see this before because the SecurityManager class is private to the spark package and all the code that uses it is Scala.

      However, I have some code that was extending it, in Java, and that code breaks because Java can't access that default value (more details here).

      Attachments

        Activity

          People

            Unassigned Unassigned
            mgrover Mark Grover
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: