Installing and Configuring Spark Thrift Server
This section describes how to install and configure Spark Thrift Server on HPE Ezmeral Runtime Enterprise.
Prerequisites
- Log in as a Kubernetes Tenant Administrator or a Kubernetes Tenant Member in HPE Ezmeral Runtime Enterprise.
- Install Spark Operator and enable the webhook. See Spark Operator.
About this task
In HPE Ezmeral Runtime Enterprise, you can install Spark Thrift Server using GUI or manually using the Helm chart for Apache Spark.
Learn more about supported Spark versions at Interoperability Matrix for Spark.
Installing Spark Thrift Server Using the GUI
About this task
Install the Spark Thrift Server for Apache Spark by using the HPE Ezmeral Runtime Enterprise GUI.
Procedure
Results
Installing Spark Thrift Server Using the Helm
Prerequisites
- Install and configure Helm 3.
- Install and configure kubectl..
About this task
Install the Spark Thrift Server on Data Fabric tenants which are HPE Ezmeral Data Fabric on Kubernetes tenants or HPE Ezmeral Data Fabric on Bare Metal tenants or non Data Fabric tenants using the Helm Chart.
Procedure
- Installing Spark Thrift Server on Data Fabric tenants: To
helm installthe Spark Thrift Server on data-fabric (internalorexternal) tenants, run the following command:helm install <spark-hs-name> ./<path-to-spark-hs-chart> -n <namespace> - Installing Spark Thrift Server on non Data Fabric tenants: To
helm installthe Spark Thrift Server on non data-fabric (none) tenants, run the following command:helm install <spark-hs-name> ./<path-to-spark-hs-chart> -n <namespace> --set tenantIsUnsecure=true
Installing the Spark Thrift Server Helm chart in a non-tenant namespace can cause error due to missing ConfigMaps and Secrets.
Running the helm install installs the Spark Thrift Server in a
tenant namespace.
Example
- To
helm installthe Spark Thrift Server on Data Fabric (internalorexternal) tenants, run the following command:helm install spark-ts ./spark-ts-chart -n sampletenant - To
helm installthe Spark Thrift Server on non Data Fabric (none) tenants, run the following command:helm install spark-ts ./spark-ts-chart -n sampletenant --set tenantIsUnsecure=true