You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by "caozhiqiang (Jira)" <ji...@apache.org> on 2021/05/17 12:43:00 UTC

[jira] [Created] (SUBMARINE-833) submarine-security does not support ranger 2.1 version

caozhiqiang created SUBMARINE-833:
-------------------------------------

             Summary: submarine-security does not support ranger 2.1 version
                 Key: SUBMARINE-833
                 URL: https://issues.apache.org/jira/browse/SUBMARINE-833
             Project: Apache Submarine
          Issue Type: Improvement
          Components: Security
            Reporter: caozhiqiang
             Fix For: 0.6.0


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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org