Giter Club home page Giter Club logo

sparkmapr's Introduction

#Connection à Hadoop via Spark via yarn client

Pré requis:

  • une VM nommée mapr-dev avec un cluster hadoop / spark installé (utilisation de la VM Vagrant hellofresh/mapr)`
    • Note: Cette VM n'est pas en connection NAT mais Private Host Network, ceci peut avoir un impact sur la communication inter-vm

Etapes:

  • builder les projet sparkYarnMapRLauncher et sparkYarnMapR
  • déposer le jar sparkYarnMapR-1.0-SNAPSHOT.jar dans le cluster hadoop dans le dossier /mapr/<cluster-name>/input
  • déposer le jar sparkYarnMapRLauncher-1.0-SNAPSHOT-all.jar dans un dossier local de la VM contenant le cluster
  • Vérifier que le fichier suivant est bien présent sur la machine: /home/mapr/spark-assembly-1.5.2-mapr-1512-hadoop2.7.0-mapr-1509.jar
  • lancer la commande java -cp sparkYarnMapRLauncher-1.0-SNAPSHOT-all.jar com.semsoft.spark.Launcher

Notes techniques: Le fichier /etc/hosts doit contenir l'hôte courant:

127.0.0.1 localhost
10.10.10.30 mapr-dev

sparkmapr's People

Watchers

James Cloos avatar  avatar

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.