SlideShare a Scribd company logo
CLOUD INFRASTRUCTURE
SERVICES
Topic : Installing Hadoop on Raspberry Pi
Team Member:
Aniket Maithani
Rajat Goyal

Mentor : Mr. Manoj Kumar Baliyan
What is Raspberry Pi?






The Raspberry Pi is a credit-card-sized
single-board computer developed in the UK
by the Raspberry Pi Foundation with the
intention of promoting the teaching of basic
computer science in schools.
The Raspberry Pi is manufactured in two board
configurations, Pi A and Pi B.
It was first released in 2012 and since then
massive development work have been done
over it.
Components of Raspberry Pi


For our current project, we have purchased
Raspberry Pi Model B. It's basic structure is
given here :
Raspberry Pi in India





Some of the major hardware distributors that
sell Raspbery Pi in India are Element 14,
RCElectro etc.
Pi B model cost around 3000/- Rs.
The model does not contain any accessories,
in general unless is given under some offer by
the hardware distributor.
Accessories Required with Pi




With Pi, you need the following accessories
 Micro USB Charger
 Ethernet Cable
 SD Card
 HDMI cable
 HDMI – VGA Converter
 RSA cable [optional]
In case you are planning to use more
attachment with Pi, you'll also be needing a
USB Power Hub.
Hadoop on raspberry pi PART 1
Making SDHC card bootable







Before you start configuring your Pi, you need
to make the SD Card Bootable.
This can be done easily.
You need to download the available distros for
Pi, from their official website :
http://www.raspberrypi.org/downloads
I downloaded the 'Raspbian Wheezy'
Making SDHC card bootable




After downloading the .img file. I used
PowerISO software [Windows] to burn the
.img on the card and make it bootable.
If you are using Linux, you can use
UNetBootin or some other program, in case
your version of UNetBootin doesn't supports
.img file.
Let's get started....






Once you have loaded the distro into the
card, all you need to do is plug in the card in
the memory card slot.
Connect the neccessary peripherals in the
USB slots.
Connect your output cable [RCA/HDMI
whatever is your preference].
This is what our setup looks like
On the first bootup


You'll see the following screen on your first
bootup, please go through the options
carefully.
Configuration








Since Pi does not have start/off switch on
board, it automatically gets started once you
plugged in the power source.
Now you'll see the first bootup screen.
When it is done, it will prompt you for login
The default username for Pi Board is pi and
password is raspberry.
Once it accepts your credentials, you'll see the
command prompt. Type startx and GUI session
will start.
Tada..


This is what the GUI interface of Wheezy
looks like.
Connecting to Internet






To connect your Pi to internet you can use
both wifi dongle or ethernet cable.
During this process I chose ethernet to
connect Pi to Internet.
DHCP setting, automatically detected by Pi.
Configuring Hadoop






Before configuring Hadoop on a single node Pi
. We need to install webserver onto it.
This can be done by executing the following
commands on the terminal.
$: apt-get install phpmyadmin apache2 php5
php5-cli mysql-server
Installation Process
●

Here is a snapshot of the installation process.
Hadoop
Before installing Hadoop we need to install
OpenJDK on Pi.
●

●

Then we need to create Hadoop system user.

Set up the ssh.

●

Install Hadoop from any of the given mirrors.

●

●

Edit .bashrc file accordingly, specify path into it.

Then once Hadoop is installed, configure the
hadoop-env.sh file.
●
Final Step
●

You can find more details about configuration at our blog.
[experimentswithpi.blogspot.in]

●

If all goes well, restart the pi and enter

●

$ hadoop version in terminal, you'll see this

●

Hadoop 1.2.1

●

Subversion
https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.2 -r
1503152

●

Compiled by mattf on Mon Jul 22 15:23:09 PDT 2013

●

From source with checksum 6923c86528809c4e7e6f493b6b413a9a

●

This command was run using /usr/local/hadoop/hadoop-1.2.1/hadoopcore-1.2.1.jar
Future Scope
I'll be adding more Pi, making a comhrensive
and robust cluster
●

●

Load Balancer to be configured

●

Will be creating an application using HadooPY
For detailed information you can
visit our blog:
http://experimentswithpi.blogspot.in
References






Wikipedia
Raspberry Pi Foundation Official Blog
IRC #RaspberryPi
DIY Guides ADAFRUIT
Apache Hadoop Guide
About This Presentation






The following presentation is released under
CC License.
All the “products/softwares” described in the
presentation belongs to their respectful
owners.
The following presentation is a cumulation of
our research work, this can be reproduce
provided proper citation of our work is given.

More Related Content

PPTX
introduction to Raspberry pi
PDF
Introduction to Raspberrypi
PPTX
Raspberry pi complete setup
PPTX
Raspberry pi ppt
PPTX
Raspberry Pi Free Session - 20_09_2014
PPT
Raspberrypi best ppt
PDF
Raspberrypi
PPTX
Presentation on Raspberry Pi by Sazzad H. IIUC
introduction to Raspberry pi
Introduction to Raspberrypi
Raspberry pi complete setup
Raspberry pi ppt
Raspberry Pi Free Session - 20_09_2014
Raspberrypi best ppt
Raspberrypi
Presentation on Raspberry Pi by Sazzad H. IIUC

What's hot (20)

PPTX
Raspberry Pi presentation for Computer Architecture class
PPTX
Introduction to raspberry pi
PPTX
Raspberry Pi Session - 22_11_2014
PPTX
Raspberry pi
PPTX
Raspberry pi
PPTX
RaspberryPi + IoT - Lab to switch on and off a light bulb
PPTX
RASPBERRY PI
PDF
Raspberry Pi
PPTX
Rasberry pi class
PPTX
Getting Started with Raspberry Pi
PPTX
Raspberry Pi in Education (English)
PPTX
PPTX
Presentation on Raspberry pi
PDF
Getting Started with Raspberry Pi v1.2
ODP
Introduction to Raspberry Pi and GPIO
PPTX
Pi Is For Python
PPTX
Exploring the abc's of raspberry pi and python(day 2)
ODP
Connecting Hardware to the Web with the BeagleBone
PPTX
Exploring the ABC's of Raspberry Pi with Python
Raspberry Pi presentation for Computer Architecture class
Introduction to raspberry pi
Raspberry Pi Session - 22_11_2014
Raspberry pi
Raspberry pi
RaspberryPi + IoT - Lab to switch on and off a light bulb
RASPBERRY PI
Raspberry Pi
Rasberry pi class
Getting Started with Raspberry Pi
Raspberry Pi in Education (English)
Presentation on Raspberry pi
Getting Started with Raspberry Pi v1.2
Introduction to Raspberry Pi and GPIO
Pi Is For Python
Exploring the abc's of raspberry pi and python(day 2)
Connecting Hardware to the Web with the BeagleBone
Exploring the ABC's of Raspberry Pi with Python
Ad

Similar to Hadoop on raspberry pi PART 1 (20)

PDF
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
PPTX
Raspberry Pi (Introduction)
PPTX
IoT Levels of AUtomation-case study topic
PDF
Getting started with Raspberry Pi - By Ibrahim
PPTX
Up and running with Raspberry Pi
PDF
Raspberry Pi By Example 1st Edition Pajankar Ashwin Kakkar Arush
PPTX
IoT for data science Module 5 - Raspberry Pi.pptx
PDF
Raspberry pi Beginners Session
PPTX
IOT notes ....,.........
PPTX
Raspberry pi intro workshop
PDF
Develop Smart Solutions with Raspberry Pi and EnableX Live Video API
DOCX
Raspberry with laptop
PDF
Introduction to the Raspberry Pi
PPTX
introduction to Raspberry pi
DOCX
How to get started with raspberry pi
PPTX
Raspberry pi
PPTX
Coffee & Pi - Fall into Pi
PPTX
Configuring Raspberry Pi as a Dev Environment
PDF
Raspberry pi
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry Pi (Introduction)
IoT Levels of AUtomation-case study topic
Getting started with Raspberry Pi - By Ibrahim
Up and running with Raspberry Pi
Raspberry Pi By Example 1st Edition Pajankar Ashwin Kakkar Arush
IoT for data science Module 5 - Raspberry Pi.pptx
Raspberry pi Beginners Session
IOT notes ....,.........
Raspberry pi intro workshop
Develop Smart Solutions with Raspberry Pi and EnableX Live Video API
Raspberry with laptop
Introduction to the Raspberry Pi
introduction to Raspberry pi
How to get started with raspberry pi
Raspberry pi
Coffee & Pi - Fall into Pi
Configuring Raspberry Pi as a Dev Environment
Raspberry pi
Ad

More from Aniket Maithani (11)

PDF
Evaluating web conference_tools
PPTX
SAP : "SPORTS RELATES TO MENTAL WELL BEING"
PPTX
DIY Wireless Charger
PPTX
Project Proposal for Minor Project
PPTX
Home automation & security system
PDF
Data Visualization(s) Using Python
PDF
Building Your Own Drupal Distribution
PDF
ERPAL + ERP Solution, Case Study
PPT
ERP-Case Study- Changes before and after implementing ERP in a company
PDF
Side Effects of Social Media
PPTX
Open Power Monitor
Evaluating web conference_tools
SAP : "SPORTS RELATES TO MENTAL WELL BEING"
DIY Wireless Charger
Project Proposal for Minor Project
Home automation & security system
Data Visualization(s) Using Python
Building Your Own Drupal Distribution
ERPAL + ERP Solution, Case Study
ERP-Case Study- Changes before and after implementing ERP in a company
Side Effects of Social Media
Open Power Monitor

Recently uploaded (20)

PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Institutional Correction lecture only . . .
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Classroom Observation Tools for Teachers
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
master seminar digital applications in india
PDF
Complications of Minimal Access Surgery at WLH
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Cell Types and Its function , kingdom of life
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Cell Structure & Organelles in detailed.
PPTX
Pharma ospi slides which help in ospi learning
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Institutional Correction lecture only . . .
human mycosis Human fungal infections are called human mycosis..pptx
Classroom Observation Tools for Teachers
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
2.FourierTransform-ShortQuestionswithAnswers.pdf
master seminar digital applications in india
Complications of Minimal Access Surgery at WLH
GDM (1) (1).pptx small presentation for students
Cell Types and Its function , kingdom of life
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
202450812 BayCHI UCSC-SV 20250812 v17.pptx
01-Introduction-to-Information-Management.pdf
Cell Structure & Organelles in detailed.
Pharma ospi slides which help in ospi learning
A systematic review of self-coping strategies used by university students to ...
VCE English Exam - Section C Student Revision Booklet
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Microbial disease of the cardiovascular and lymphatic systems
STATICS OF THE RIGID BODIES Hibbelers.pdf

Hadoop on raspberry pi PART 1

  • 1. CLOUD INFRASTRUCTURE SERVICES Topic : Installing Hadoop on Raspberry Pi Team Member: Aniket Maithani Rajat Goyal Mentor : Mr. Manoj Kumar Baliyan
  • 2. What is Raspberry Pi?    The Raspberry Pi is a credit-card-sized single-board computer developed in the UK by the Raspberry Pi Foundation with the intention of promoting the teaching of basic computer science in schools. The Raspberry Pi is manufactured in two board configurations, Pi A and Pi B. It was first released in 2012 and since then massive development work have been done over it.
  • 3. Components of Raspberry Pi  For our current project, we have purchased Raspberry Pi Model B. It's basic structure is given here :
  • 4. Raspberry Pi in India    Some of the major hardware distributors that sell Raspbery Pi in India are Element 14, RCElectro etc. Pi B model cost around 3000/- Rs. The model does not contain any accessories, in general unless is given under some offer by the hardware distributor.
  • 5. Accessories Required with Pi   With Pi, you need the following accessories  Micro USB Charger  Ethernet Cable  SD Card  HDMI cable  HDMI – VGA Converter  RSA cable [optional] In case you are planning to use more attachment with Pi, you'll also be needing a USB Power Hub.
  • 7. Making SDHC card bootable     Before you start configuring your Pi, you need to make the SD Card Bootable. This can be done easily. You need to download the available distros for Pi, from their official website : http://www.raspberrypi.org/downloads I downloaded the 'Raspbian Wheezy'
  • 8. Making SDHC card bootable   After downloading the .img file. I used PowerISO software [Windows] to burn the .img on the card and make it bootable. If you are using Linux, you can use UNetBootin or some other program, in case your version of UNetBootin doesn't supports .img file.
  • 9. Let's get started....    Once you have loaded the distro into the card, all you need to do is plug in the card in the memory card slot. Connect the neccessary peripherals in the USB slots. Connect your output cable [RCA/HDMI whatever is your preference].
  • 10. This is what our setup looks like
  • 11. On the first bootup  You'll see the following screen on your first bootup, please go through the options carefully.
  • 12. Configuration      Since Pi does not have start/off switch on board, it automatically gets started once you plugged in the power source. Now you'll see the first bootup screen. When it is done, it will prompt you for login The default username for Pi Board is pi and password is raspberry. Once it accepts your credentials, you'll see the command prompt. Type startx and GUI session will start.
  • 13. Tada..  This is what the GUI interface of Wheezy looks like.
  • 14. Connecting to Internet    To connect your Pi to internet you can use both wifi dongle or ethernet cable. During this process I chose ethernet to connect Pi to Internet. DHCP setting, automatically detected by Pi.
  • 15. Configuring Hadoop    Before configuring Hadoop on a single node Pi . We need to install webserver onto it. This can be done by executing the following commands on the terminal. $: apt-get install phpmyadmin apache2 php5 php5-cli mysql-server
  • 16. Installation Process ● Here is a snapshot of the installation process.
  • 17. Hadoop Before installing Hadoop we need to install OpenJDK on Pi. ● ● Then we need to create Hadoop system user. Set up the ssh. ● Install Hadoop from any of the given mirrors. ● ● Edit .bashrc file accordingly, specify path into it. Then once Hadoop is installed, configure the hadoop-env.sh file. ●
  • 18. Final Step ● You can find more details about configuration at our blog. [experimentswithpi.blogspot.in] ● If all goes well, restart the pi and enter ● $ hadoop version in terminal, you'll see this ● Hadoop 1.2.1 ● Subversion https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1.2 -r 1503152 ● Compiled by mattf on Mon Jul 22 15:23:09 PDT 2013 ● From source with checksum 6923c86528809c4e7e6f493b6b413a9a ● This command was run using /usr/local/hadoop/hadoop-1.2.1/hadoopcore-1.2.1.jar
  • 19. Future Scope I'll be adding more Pi, making a comhrensive and robust cluster ● ● Load Balancer to be configured ● Will be creating an application using HadooPY
  • 20. For detailed information you can visit our blog: http://experimentswithpi.blogspot.in
  • 21. References      Wikipedia Raspberry Pi Foundation Official Blog IRC #RaspberryPi DIY Guides ADAFRUIT Apache Hadoop Guide
  • 22. About This Presentation    The following presentation is released under CC License. All the “products/softwares” described in the presentation belongs to their respectful owners. The following presentation is a cumulation of our research work, this can be reproduce provided proper citation of our work is given.