Title
Create new category
Edit page index title
Edit category
Edit link
Install Multiple Spark 3 Versions
Prerequisites
Before installing multiple Spark3 versions, ensure:
✅ Ambari Server 2.7.0 or higher
✅ ODP 3.0+ stack installed
✅ Required dependencies: HDFS, YARN, HIVE
✅ Sufficient cluster resources for multiple History Servers
✅ Network ports 18082, 18083, 18084 available
Step 1: Obtain the Management Pack
Download the Spark3 management pack:
Step 2: Install the Management Pack
On your Ambari Server, run:
Expected Output:
Step 3: Add Spark3 Services via Ambari UI
Adding Spark3 3.5.5 (Recommended)
Log in to Ambari Web UI
Navigate to
http://<ambari-server>:8080Log in with admin credentials
Add Service
Click "Actions" → "Add Service"
Select "Spark3 3.5.5" from the service list
Click "Next"
Assign Components
History Server: Select host(s) for Spark History Server
Thrift Server: (Optional) Select host(s) for Thrift Server
Client: Select hosts that need Spark client libraries
Click "Next"
Configure Service: Review default configurations. Key settings:
History Server Port: 18082
Log Directory:
/var/log/spark3PID Directory:
/var/run/spark3Click "Next"
Deploy Service
Review the deployment plan
Click "Deploy"
Monitor installation progress
Click "Complete" when finished
Adding Spark3 3.3.3 or 3.5.1
Repeat the above steps, selecting: Spark 3.5.1 or Spark 3.3.3
Step 4: Verify Installation
Check Services in Ambari UI
Navigate to the Ambari dashboard and verify:
✅ All installed Spark3 services show "Started" status
✅ All components are healthy (green indicators)
Verify History Server UIs
Access each History Server:
Each UI should display the correct Spark version.
Verify Client Installation
On client nodes: