Troubleshooting
Inputting your own Livy and Spark configurations while installing Livy
You can configure any Apache Livy or Apache Spark environment variable with the env.*
Helm property. Follow
the steps below to convert the example configuration
example.config.with-dash.withUppercase
to a supported environment variable format.
Replace uppercase letters with a 1 and a lowercase of the letter. For example,
example.config.with-dash.withUppercase
becomesexample.config.with-dash.with1uppercase
.-
Replace dashes (-) with 0. For example,
example.config.with-dash.with1uppercase
becomesexample.config.with0dash.with1uppercase
-
Replace dots (.) with underscores (_). For example,
example.config.with0dash.with1uppercase
becomesexample_config_with0dash_with1uppercase
. -
Replace all lowercase letters with uppercase letters.
-
Add the prefix
LIVY_
to the variable name. -
Use the variable while installing Livy through the helm chart using the format --set env.
YOUR_VARIABLE_NAME
.value=yourvalue
For example, to set the Livy and Spark configurations
livy.server.recovery.state-store = filesystem
and
spark.kubernetes.executor.podNamePrefix = my-prefix
, use these Helm properties:
—set env.LIVY_LIVY_SERVER_RECOVERY_STATE0STORE.value=filesystem —set env.LIVY_SPARK_KUBERNETES_EXECUTOR_POD0NAME0PREFIX.value=myprefix