Uploaded image for project: 'Apache Submarine'
  1. Apache Submarine
  2. SUBMARINE-833

submarine-security does not support ranger 2.1 version

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Won't Fix
    • None
    • 0.7.0
    • Security

    Description

      Now submarine-security/spark-security does not support ranger 2.1. When compile submarine-spark-security with ranger 2.1, it will report Error:

       [ERROR] /root/submarine/submarine-security/spark-security/src/main/scala/org/apache/submarine/spark/security/RangerSparkPlugin.scala:32: value getInstance is not a member of object org.apache.ranger.authorization.hadoop.config.RangerConfiguration
      [ERROR] private val rangerConf: RangerConfiguration = RangerConfiguration.getInstance
      [ERROR] ^
      [ERROR] /root/submarine/submarine-security/spark-security/src/main/scala/org/apache/submarine/spark/security/RangerSparkPlugin.scala:36: value getInstance is not a member of object org.apache.ranger.authorization.hadoop.config.RangerConfiguration
      [ERROR] lazy val fsScheme: Array[String] = RangerConfiguration.getInstance()
      [ERROR] ^
      [ERROR] two errors found
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 31.613 s
      [INFO] Finished at: 2021-05-17T11:51:41Z
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile (scala-compile-first) on project submarine-spark-security: Execution scala-compile-first of goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile failed.: CompileFailed -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              caozhiqiang caozhiqiang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: