Spark authentication with Gravitino server
Overview
Spark connector supports simple oauth2 and kerberos authentication when accessing Gravitino server.
| Property | Type | Default Value | Description | Required | Since Version |
|---|---|---|---|---|---|
| spark.sql.gravitino.authType | string | simple | The authentication mechanisms when communicating with Gravitino server, supports simple, oauth2 and kerberos. | No | 0.7.0-incubating |
Simple mode
In the simple mode, the username originates from Spark, and is obtained using the following sequences:
- The environment variable of
SPARK_USER - The environment variable of
HADOOP_USER_NAME - The user login in the machine