Code Monkey home page Code Monkey logo

hadoopdatanode's Introduction

Ajout d'un node à un cluster Hadoop (en cours)

Ajout d'un datanode à un cluster Hadoop sur une machine différente.

Ce cluster est composé d'un namenode et de trois datanode sur la premiere machine que l'on appelera VM1et d'un datanode sur la deuxieme machine que l'on nommera VM2.

Nous travaillerons donc seulement sur la VM2 dans cette documentation.

synoptique

Prérequis

🛠 Configuration

Cloner le repository.

git clone https://github.com/baha1218/HadoopDatanode.git

Rendez-vous dans le dossier HadoopDatanode/

cd HadoopDatanode/

Vous devez maintenant déclararer l'ip de VM1 qui porte votre namenode. Dans mon cas il s'agit de 10.107.0.6.

Éditez les fichiers core-site.xml et yarn-site.xml grace aux commandes suivantes :

nano config/core-site.xml
nano config/yarn-site.xml
nano config/spark/spark-defaults.conf

Buildez l'image du datastore.

docker build -t hadoop-spark .

Lancez le conteneur. Utilisez docker-compose si vous n'etes pas sur red hat.

docker compose -f "docker-compose.yml" up -d --build

Vérifiez le bon fonctionnement du cluster sur votre navigateur en tapant l'ip de votre machine http://<ip>:9870 ou votre localhost http://127.0.0.1:9870 sur le port 9870.

hadoopdatanode's People

Contributors

baha1218 avatar

Stargazers

Dramane NIARE avatar  avatar

Watchers

 avatar

Forkers

lefsec

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.