Git Product home page Git Product logo

ex-06-pseudo-node-configuration-for-hadoop-on-ubuntu's Introduction

Ex-06-Pseudo-Node-Configuration-for-Hadoop-on-Ubuntu

AIM

To implement Pseudo Node configuration for Hadoop on ubuntu

Pre-requisites

a) jdk

Single-Node Configuration

  1. Create a dedicated user account for hadoop image

  2. Install java1.8 in folder /usr/local
    image

  3. Install Hadoop
    image

  4. Set the hadoop environment variables: Include the following lines in the $HOME/.bashrc file image

  5. Set hadoop environment variables: Include the following lines /etc/profile file image

  6. Run the.bashrc & profile files from the $ prompt for updating the changes image image
    $ bin/hadoop version

  7. Configuration of the hadoop files: hadoop-env.sh, core-site.xml, mapred-site.xml, hdfs- site.xml and yarn-site.xml
    path :: /usr/local/hadoop-2.5.1/etc/hadoop

a) hadoop-env.sh
Include the following lines in hadoop-env.sh file image

b) core-site.xml

Configure the directory for Hadoop to store its data files, the network ports it listens to, etc. Setup will use Hadoop’s Distributed File System (HDFS-single local machine)
image

Include the following lines in core-site.xml file between and tags image

c) mapred-site.xml

 $sudo cp mapred-site.xml.template mapred-site.xml

Include the following lines in mapred-site.xml file

 <property>
<name>mapreduce.framework.name</name>
<value>yarn</value>
</property>

d) hdfs-site.xml Include the following lines in hdfs-site.xml file image

e) yarn-site.xml Include the following lines in yarn-site.xml file image

  1. Format the Hadoop File system implemented on top of the local file system using
    image

  2. Start Hadoop using

$sbin/start-all.sh

Explore Hadoop using http://localhost:50070/ from the browser

  1. The commonly used HDFS Commands are as follows: image

  2. Create a directory ‘/input’ in HDFS
    image

  3. Copy the input files into the distributed file system image

  4. Run some of the examples provided image

  5. Examine the output files
    image
    Copy the output files from the distributed file system to the local file system and examine them:
    image
    or View the output files on the distributed file system image































Result:

Thus, the implementation of Pseudo Node configuration for Hadoop on ubuntu is successfully executed.# Ex-06-Pseudo-Node-Configuration-for-Hadoop-on-Ubuntu

ex-06-pseudo-node-configuration-for-hadoop-on-ubuntu's People

Contributors

drmalathisaravanan avatar knight7080 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.