livy_config

0th

Percentile

Create a Spark Configuration for Livy

Create a Spark Configuration for Livy

Usage
livy_config(config = spark_config(), username = NULL, password = NULL,
  custom_headers = list(`X-Requested-By` = "sparklyr"))
Arguments
config

Optional base configuration

username

The username to use in the Authorization header

password

The password to use in the Authorization header

custom_headers

List of custom headers to append to http requests. Defaults to list("X-Requested-By" = "sparklyr").

Details

Extends a Spark "spark_config" configuration with settings for Livy. For instance, "username" and "password" define the basic authentication settings for a Livy session.

The default value of "custom_headers" is set to list("X-Requested-By" = "sparklyr") in order to facilitate connection to Livy servers with CSRF protection enabled.

Value

Named list with configuration data

Aliases
  • livy_config
Documentation reproduced from package sparklyr, version 0.6.0, License: Apache License 2.0 | file LICENSE

Community examples

Looks like there are no examples yet.