How to configure ports for network security on spark

svg viewer

Spark cluster and its services are not deployed on the public Internet, rather they are private services that should only be accessible within the company deploying Spark. Access to hosts and ports used by Spark should be limited to origin hosts that need to access the services.

Standalone mode only

The user provides key stores and configuration options for master and workers. They can also allow the executors to use SSL settings as set in the worker process.

The following table describes how to configure the primary ports for standalone mode.

svg viewer

All cluster managers

The following table shows how to configure settings for all the cluster managers.

svg viewer
New on Educative
Learn to Code
Learn any Language as a beginner
Develop a human edge in an AI powered world and learn to code with AI from our beginner friendly catalog
🏆 Leaderboard
Daily Coding Challenge
Solve a new coding challenge every day and climb the leaderboard

Free Resources

Copyright ©2025 Educative, Inc. All rights reserved