Vous êtes sur la page 1sur 43

Hadoop Installation Steps

VMware player: https://www.vmware.com/tryvmware/?p=player

Cloudera Setup files:


DownloadtheClouderaVMfilefromany ofthebelowlink.

ClouderaOfficialLink:
https://ccp.cloudera.com/display/SUPPORT/Cloudera+QuickStart+VM

Step 1: Download the VMware player from the link shown above and install it.

Step 2: Download the Cloudera Setup File from any of the above links and
extract that zipped file on your hard drive Scroll

Scroll down and select Accept

Step 3: Start VMPlayer and click open a Virtual Machine Browse the

Browse the extracted folder.

It will start in a couple of minutes.


Login credentials:
Machine Login credentials are:
a. Username - cloudera
b. Password - cloudera
Cloudera Manager Credentials are:
a. Username - admin
b. Password - admin

Click on the black box shown below in the image to start terminal.

Step 4: Checking your Hadoop Cluster


Type:sudojpstoseeifallnodesarerunning(ifyouseeanerrorlike
below,waitforsometimeandthentryagain,yourthreadsarenot
startedyet)

Type:sudosuhdfs
Executeyourcommandiehadoopdfsls/

JAVA DEVELOPMENT
ENVIRONMENT SETUP GUIDE

Know your System Requirements:


IfyouareusingWindows7:
Clickonstartorpresswindowskey->rightclickonComputer
->selectProperties.

HereyouwillfindtheSystemsettingsasbelow:

Fromtheabovewindowyoucanfindoutwhetheryourmachineis64bitor32bit
machine.OnaWindowsXPOSfollowthefollowingsteps:
fromthestartmenu->GotoControlPanel->GotoSystem.

HereyouwillfindtheSystemsettingsasbelow:

As you can see the above Machine is a 32 bit machine as it is showing Microsoft
Windows XP Professional. For a 64 bit machine it will show Microsoft Windows
XP Professional X64 Edition.
All the softwares viz. Eclipse,Android SDK,JDK will be downloaded for the type
of machine found(viz 32 bit or 64 bit).
Prerequisites:
JavaDevelopmentKit(JDKandJRE).
EclipseIDE(HeliosorAbove).
Installing JDK:
GototheURL:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
ThenclickonDownloadundertheJDKsection.

Choosetheappropriateoptionthatisasperthemachineyou
areinstallingtheJDKviz.32bitmachineor64bitmachine.

Oncethedownloadisover.Startthe.exefilebydoubleclickonit.

OncedonewiththeInstallationofJAVA.
WeneedtosettheEnvironmentvariablesinordertouseJDK
withEclipse.
GotoMyComputerfromthestartupmenu->GotoProperties>GotoAdvancedSystemSettings->FromthePopupGoto
EnvironmentVariables.
ClickonAdd.
NametheEnvironmentVariableaspath.
PlacethevalueoftheJDKinstallationfolderonyourmachine
tillthefoldersbindirectory.Forex:C:\Program
Files\Java\jdk1.7.0_05\bin
CreateanotherenvironmentvariablenameitasJAVA_HOME
andsetthevaluesasC:\ProgramFiles\Java\jdk1.7.0_05i.e.
excludingthebindirectory.

OncewehavecreatedtheEnvironmentvariables,wearedonewiththeprocessofJDK
installation.

Installing Eclipse IDE:


WerecommendusingEclipseIDEforJavaDevelopers(Helios).Youcandownloadit
here:
Download"EclipseIDEforJavaDevelopers(92MB)"fromhere
http://www.eclipse.org/downloads/
JustcheckbeforedownloadingwhetheryourOSis64bitor32bit,
DependingupontheOS,downloadtheversionthatmeetsthemachinerequirements.

Thisisazipfileanddoesnotrequireinstallation.Justcopytheeclipsefolderintoyour
programsdirectory.
Unzipthisfile.
Afterunzipwhatyoufillfindintheunzippedfolderissomethinglikethis:

PIG INSTALLATION

Step 4: Save the file and restart the terminal.


Step 5: Just type pig to enter into the grunt
shell.

Step 3:
root@cloudera-vm:/home/cloudera# > cd /usr/lib/hive/conf/
root@cloudera-vm:/home/cloudera# > sudo gedit hivesite.xml

Vous aimerez peut-être aussi