Skip to main content

A best Docker approach for Apache Spark on Windows

Page 1

A Docker approach for Apache Spark on Windows How to set-up an Apache Spark development environment with minimum effort with Docker for Windows Installing Spark on Windows is an extremely complicated. Several dependencies need to be installed (Java SDK, Python, Winutils, Log4j), services need to be configured, and environment variables need to be properly set. Given that, I decided to use Docker as the first option for all my development environments. Why do we use Docker? 1. There is no need to install any library or application on Windows, only Docker. No need to ask Technical Support for permission to install software and libraries every week. 2. Windows will always run at maximum potential (without having countless services starting on login) 3. Have different environments for projects, including software versions. Ex: a project can use Apache Spark 2 with Scala and another Apache Spark 3 project with pyspark without any conflict. 4. There are several ready-made images made by the community (spark, jupyter, etc.), making the development set-up much faster. 5. Since docker is built on containerization technology, it’s both scalable and flexible. Each container has its own set of configurations and dependencies packed inside it, which makes it easier to run multiple instances of the same containers simultaneously.


Turn static files into dynamic content formats.

Create a flipbook
A best Docker approach for Apache Spark on Windows by varsha nayak - Issuu