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
- Log in as a Kubernetes Tenant Administrator or a Kubernetes Tenant Member on the HPE Ezmeral Runtime Enterprise GUI.
- Click Applications in the main menu. You will see Kubernetes Applications tiles under KubeDirector tab.
- Navigate to Spark Thrift Server tile and click Launch.
-
Configure Cluster Detail and Settings
on Create Application screen.
- Cluster Detail:
- Enter the Name and Description of the application.
- Settings:
- Set the CPU and Memory (GB) resources.
-
To view
yaml
, click Edit/Launch yaml. - Click Submit.
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 install
the Spark Thrift Server on data-fabric (internal
orexternal
) 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 install
the 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 install
the Spark Thrift Server on Data Fabric (internal
orexternal
) tenants, run the following command:helm install spark-ts ./spark-ts-chart -n sampletenant
- To
helm install
the 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