Академический Документы
Профессиональный Документы
Культура Документы
www.edureka.co/big-data-and-hadoop
Importing Edureka VM
A guide to setup Edureka VM
www.edureka.co/big-data-and-hadoop
Edureka VM
A guide to setup Edureka VM
Table of Contents
Install Virtual Box .................................................................................................................................... 2
Install Edureka VM ................................................................................................................................ 11
Commonly Faced Issues: ....................................................................................................................... 26
Size Compatibility Issue: ....................................................................................................................... 31
Page 1
www.edureka.co/big-data-and-hadoop
Page 2
www.edureka.co/big-data-and-hadoop
Step 1: Download Virtual Box from below link based on your Operating System.
http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html
Here, we have shown installation for VirtualBox-4.3.20, same steps you can follow for the
updated versions.
FIGURE 1-1
For Windows
For Mac OS
For Ubuntu
Page 3
www.edureka.co/big-data-and-hadoop
Page 4
www.edureka.co/big-data-and-hadoop
Step 4: Select the way you want your features to be installed and click Next. You can also
change the location as per your will.
FIGURE 1-4
Page 5
www.edureka.co/big-data-and-hadoop
Page 6
www.edureka.co/big-data-and-hadoop
Page 7
www.edureka.co/big-data-and-hadoop
FIGURE 1-7.1
Page 8
www.edureka.co/big-data-and-hadoop
FIGURE 1-8.1
With this screen, your Oracle VM Virtual Box Manager has been downloaded and
installed successfully.
Page 9
www.edureka.co/big-data-and-hadoop
Note: If you unable to install Virtual Box on Windows, install VMware Player
which will serve the same purpose.
Page 10
www.edureka.co/big-data-and-hadoop
Install Edureka VM
Step 1: Download Edureka VM from- http://share.edureka.co/pydio/data/public/hadoop
Step 2: On Import Virtual Appliance box click on the file menu to import Open Virtualization
format file (.ova) downloaded.
Go to File menu of Virtual Box Manager and click on Import Appliance.
FIGURE 2-1
Note: If you are not getting File option, please make sure the virtual box is in full screen mode.
FIGURE 2-2
Page 11
www.edureka.co/big-data-and-hadoop
Page 12
www.edureka.co/big-data-and-hadoop
Page 13
www.edureka.co/big-data-and-hadoop
Page 14
www.edureka.co/big-data-and-hadoop
Note: After importing the .ova file in your virtual box, check the settings of virtual box.
1) Refer the screen shot below:
At bottom, if you are getting invalid setting detected, make changes in the base memory.
The cursor range should be within the limit of green line.
Note: Assign around 25-35% RAM to your virtual box of total RAM, not more than that.
Page 15
www.edureka.co/big-data-and-hadoop
Check adapter 1:
Page 16
www.edureka.co/big-data-and-hadoop
Check adapter 2:
Page 17
www.edureka.co/big-data-and-hadoop
Step 6: Once it got imported, you find the below image. Select Edureka_VM and Click
Start.
FIGURE 2-6
Step 7:
FIGURE 2-7
Page 18
www.edureka.co/big-data-and-hadoop
FIGURE 2-8
Step 9:
Edureka VM will start on Oracle VM Virtual Box. You will have to write edureka on
password field.
FIGURE 2-9
Note: Oozie is a dummy user. There is no configuration done in that user. Password for
Oozie User is oozie
Page 19
www.edureka.co/big-data-and-hadoop
Step 10:
The VM will open. On Desktop you will find LMS directory and readme file, please
go them. LMS directory has all the practical files and codes, readme file gives the information
about the VM.
FIGURE 2-10
Step 11:
Open terminal and Check your hostname in terminal, and it should be in host file.
If it is not there, follow the below steps:
Note: If your host name is already in host file, close the file otherwise please add hostname
at the last as mentioned in IMAGE below:
Page 20
www.edureka.co/big-data-and-hadoop
Note: Before you start working with Edureka VM, check if all daemons are running or not,
by using below command:
sudo jps
Note: Please type the command in terminal, don't copy it. It may take hidden symbols.
Page 21
www.edureka.co/big-data-and-hadoop
Note: If you have installed VMWare Player on your machine, please find the below steps to
import the Edureka VM.
Step 12:
To import the Edureka VM, start the VMPlayer and click on Open a Virtual
Machine as shown in the below image
FIGURE 2-12
Page 22
www.edureka.co/big-data-and-hadoop
Select the location where you have ova file of Edureka VM and click on open
FIGURE 2-13
Step 14:
Select the location where you have ova file of Edureka VM and click on open
FIGURE 2-14
Page 23
www.edureka.co/big-data-and-hadoop
FIGURE 2-15
Step 16:
FIGURE 2-16
Page 24
www.edureka.co/big-data-and-hadoop
FIGURE 2-17
Page 25
www.edureka.co/big-data-and-hadoop
FIGURE 1
2. https://edureka.wistia.com/medias/0hliot0nh5
3. If you get Intel VT-x or AMD-v issue , follow the steps in the document present in below
link.
https://edureka.wistia.com/medias/0hliot0nh5
FIGURE 3
4. When you are trying to access HDFS, you get NameNode is in SafeMode , just like below
snapshot.
Page 26
www.edureka.co/big-data-and-hadoop
2. When you are trying to access HDFS, you may get Name node is in SafeMode, just like below
snapshot.
FIGURE 2
Solution: Go to terminal and give the command hadoop dfsadmin -safemode leave . Now
go and check your HDFS.
Page 27
www.edureka.co/big-data-and-hadoop
3. Command:
oozie
job
-oozie
http://localhost:11000/oozie
/home/edureka/Desktop/LMS/Oozie/WordCountTest/job.properties -run
-config
Error: E0501 : E0501: Could not perform authorization operation, User: edureka is not
allowed to impersonate edureka
Change 1
Edit hadoops core-site.xml
Command: sudo gedit /usr/lib/hadoop-2.2.0/etc/hadoop/core-site.xml
Remove oozie and put edureka as mentioned in below document, save the file and close it.
Page 28
www.edureka.co/big-data-and-hadoop
Change 2
Edit your job.properties and workflow.xml files. Use jobTracker port as 8032 in both the files and
oozie.wf.application.path as ${nameNode}/WordCountTest as mentioned in below snapshots.
Command:
sudo
gedit
Desktop/LMS/Oozie/WordCountTest/job.properties
Change 3
Giving permissions to Oozie directory.
Page 29
www.edureka.co/big-data-and-hadoop
-config
Page 30
www.edureka.co/big-data-and-hadoop
Page 31
www.edureka.co/big-data-and-hadoop
Since, you are not having enough space in C Drive, then you need to create a new folder in
another Drive.
Here, I have created Edureka folder in D drive and paste the path as mentioned, dont remove
the last file name.
D:\Edureka\EdurekaVM_32-disk1.vmdk
Page 32
www.edureka.co/big-data-and-hadoop
Page 33