spark-authorizer (homepage)

An Rule of Optimization which provides SQL Standard Authorization for Apache Spark

@yaooqinn / (2)

Spark Authorizer provides you with SQL Standard Based Authorization for Apache Spark like SQL Standard Based Hive Authorization. While you are using Spark SQL or Dataset/DataFrame API to load data from tables embedded with Apache Hive metastore, this library provides row/column level fine-grained access controls with Apache Ranger.
Security is one of fundamental features for enterprise adoption. Apache Ranger offers many security plugins for many Hadoop ecosystem components, such as HDFS, Hive, HBase, Solr and Sqoop2. However, Apache Spark is not counted in yet. When a secured HDFS cluster is used as a data warehouse accessed by various users and groups via different applications wrote by Spark and Hive, it is very difficult to guarantee data management in a consistent way. Apache Spark users visit data warehouse only with Storage based access controls offered by HDFS. This library shares Ranger Hive plugin with Hive to help Spark talking to Ranger Admin.


Tags

  • 1|sql
  • 1|hive
  • 1|authorization
  • 1|ranger
  • 1|privilege
  • 1|security

How to

Include this package in your Spark Applications using:

spark-shell, pyspark, or spark-submit

> $SPARK_HOME/bin/spark-shell --packages yaooqinn:spark-authorizer:1.0.1.spark2.3

sbt

If you use the sbt-spark-package plugin, in your sbt build file, add:

spDependencies += "yaooqinn/spark-authorizer:1.0.1.spark2.3"

Otherwise,

resolvers += "Spark Packages Repo" at "http://dl.bintray.com/spark-packages/maven"

libraryDependencies += "yaooqinn" % "spark-authorizer" % "1.0.1.spark2.3"

Maven

In your pom.xml, add:
<dependencies>
  <!-- list of dependencies -->
  <dependency>
    <groupId>yaooqinn</groupId>
    <artifactId>spark-authorizer</artifactId>
    <version>1.0.1.spark2.3</version>
  </dependency>
</dependencies>
<repositories>
  <!-- list of other repositories -->
  <repository>
    <id>SparkPackagesRepo</id>
    <url>http://dl.bintray.com/spark-packages/maven</url>
  </repository>
</repositories>

Releases

Version: 1.0.1.spark2.3 ( 207662 | zip | jar ) / Date: 2018-03-05 / License: Apache-2.0 / Scala version: 2.11

Version: 1.1.3.spark2.1 ( 78f7d8 | zip | jar ) / Date: 2018-03-02 / License: Apache-2.0

Version: 1.1.2.spark2.1 ( 687c3c | zip | jar ) / Date: 2018-03-02 / License: Apache-2.0

Version: 1.0.0.spark2.3 ( d67cca | zip | jar ) / Date: 2018-03-01 / License: Apache-2.0 / Scala version: 2.11

Version: 1.1.1.spark2.1 ( 70a4fa | zip | jar ) / Date: 2018-02-02 / License: Apache-2.0

Version: 1.1.0.spark2.1 ( 9aa7ff | zip | jar ) / Date: 2018-02-02 / License: Apache-2.0

Version: 1.0.0.spark2.1 ( 8d6163 | zip | jar ) / Date: 2017-12-15 / License: Apache-2.0

Version: 1.0.0.spark2.2 ( 4a9fd1 | zip | jar ) / Date: 2017-12-15 / License: Apache-2.0