Git Product home page Git Product logo

apache-spark-on-windows's Introduction

Install Apache Spark on Windows

I heavily modified the code here but the majority of the code was made by user:ornrocha on GitHub.

This repository contains a powershell script to install Apache Spark on Windows 10 automatically. The goal is to create an environment on a personal computer for developing and testing routines for processing large-scale data using Spark. However, spark will use only the number of cores of your pc, so you will not have the distributed computing capabilities presented in cloud systems like Microsoft Azure, AWS, etc...

I don't recommend using it for a production environment.

This script has been modified to allow for installation of what is needed for .NET for Apache® Spark™. For more details see here

Programs that will be installed:

  • for all options
    1. Java SDK 1.8
    2. Maven
    3. Hadoop Winutils 2.7.1
    4. Apache Spark with Hadoop 2.7
  • If y answered for Scala option
    • Scala
  • If y answered for dotnet option
    • dotnetcore-sdk

How to install?

  1. Download the script "spark-install.ps1".

  2. Open Powershell (I used PowerShell 7 I haven't tested any others)

  3. cd to the root folder where you downloaded the script.

  4. Execute the following command:

    powershell -executionpolicy bypass -File .\spark-install.ps1
  5. Follow the instructions.

How to test if apache spark works?

  • Open a CMD shell and execute:

    spark-shell

Things I'd like to add

I would like to add back in the anaconda set up with a virtual environment but I usually do that elsewhere for each project so it might not happen

I'm not sure about this one but maybe adding a couple of examples may happen here as well

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.