You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by "Kevin Su (Jira)" <ji...@apache.org> on 2022/02/22 04:25:00 UTC

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

     [ https://issues.apache.org/jira/browse/SUBMARINE-833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Su resolved SUBMARINE-833.
--------------------------------
    Resolution: Won't Fix

> 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
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 0.7.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.20.1#820001)

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