Install Livy

R/livy_install.R

livy_install

Description

Automatically download and install livy. livy provides a REST API to Spark.

Find the LIVY_HOME directory for a given version of Livy that was previously installed using livy_install.

Usage

livy_install(version = "0.6.0", spark_home = NULL, spark_version = NULL) 

livy_available_versions() 

livy_install_dir() 

livy_installed_versions() 

livy_home_dir(version = NULL) 

Arguments

Arguments Description
version Version of Livy
spark_home The path to a Spark installation. The downloaded and installed version of livy will then be associated with this Spark installation. When unset (NULL), the value is inferred based on the value of spark_version supplied.
spark_version The version of Spark to use. When unset (NULL), the value is inferred based on the value of livy_version supplied. A version of Spark known to be compatible with the requested version of livy is chosen when possible.

Value

Path to LIVY_HOME (or NULL if the specified version was not found).