Installing Hadoop in full distributed mode using VM VirtualBox on Windows Machines - hadoop

I have installed Hadoop in Pseudo-Distribution Mode using Oracle VM VirtualBox (https://github.com/AmanpreetSingh-GitHub/Hadoop) on Windows 10 machine and it is working perfectly fine and running my MapReduce, Pig, Hive, Sqoop programs.
Now I want to install Hadoop in full distributed mode using Oracle VM VirtualBox on four Windows 10 machines. Could you please let me know how to proceed for this? Any links to resources that briefly tells that will be really helpful.

Related

Lightweight Hadoop Distribution

I want to learn to develop UDFs for Hive. I downloaded Cloudera's quickstart virtual machine for virtualbox, but it takes 8GB of memory to run Cloudera Manager. I have a dev machine with only 8GB so running Cloudera's Hadoop distribution is not possible.
Is there a lightweight Hadoop distribution I can use to learn the Hadoop/Hive world?
Cloudera Manager is turned off by default in that VM, and is not needed for your use case. You should be able to run CDH alone with 8GB RAM available.

Hadoop features when installed on windows using virtual box

Do I get less features or functions of hadoop env. when installed on windows machine using virtual box? Is is good to have this sort of hadoop installation for beginners practice? or What is the difference when hadoop in installed on linux machine vs installation on virtual box on a windows machine.
You can have fully distributed cluster on your windows machine using multiple nodes in the virtual box . However for beginners I will recommend you set up a single node cluster and do the practice. There is no thing as such that you will get less features . You will be running pseudo distributed mode of hadoop . All the daemons will be running. Only thing is that since you have single windows machine with limited storage/ram, you cant test the cluster with huge amounts of data. Hope this helps.

Setup multinode Hadoop cluster using virtual machines on my laptop

I have a windows 7 laptop and I need to setup hadoop (mutlinode) cluster on it.
I have the following things ready -
virtual softwares, i.e. virtualbox and vmware player.
Two virtual machines, i.e.
Ubuntu - for Hadoop master and
Ubuntu - for (1X) Hadoop slave
Has anyone done a setup of such a cluster using Virtual machines on
your laptop ?
If yes please help me to install it.
I've searched over google but I am not getting how to configure this multi-node cluster on hadoop using VMs?
How to run two Ubuntu OS on windows 7 using VMware or virtualbox?
Should we use same Ubuntu version VM image or
vm images with different versions of Ubuntu linux?
Yes you can use ubuntu two node. I am using five nodes(1 master, 4 datanodes).
If you want install multi node in vm ware.
Just download ubutnu from this link: http://www.ubuntu.com/download/desktop
And install two machine. And install java and openssh.
And download shell script for multinode from this link::
https://github.com/tonyreddy/Apache-MultiNode-Insatallation-Shellscript
And try it .....
All the best............
Since you're running Hadoop on your laptop, obviously you're doing it for learning purposes or building POC or functional debugging.
Instead of going through the hassles of installing and setting up Hadoop and related Big-Data softwares, you can simply install a pre-configured pseudo-distributed VM.
Some good options are:
Cloudera QuickStart VM
Hortonworks Sandbox
I've been using the Cloudera's VM on my laptop for quite sometime now and it's been working great.
Cloudera and Hortonworks are the fastest way to get it up and running.
Make sure you have enough RAM installed on your laptop for the Operating system already running, else your laptop will restart abruptly often while you use the Virtual machines.
Let me give you an example -
If you are using Windows 10, it needs 3-5GB RAM to be used to work smoothly,
This means if you load a Virtual Machine of 5GB size in your RAM, Windows may crash when it does not find enough RAM to operate.
You must upgrade the RAM from 8GB to 12GB or best 16GB for smooth operation of your laptop.
Hope it helps

Hadoop cluster with Linux as master and windows 7 as slave

I want to set up a hadoop environment with linux fedora as master and windows 7 machine as slave. Is this combination possible and if so, do I need to install cygwin in windows 7?
The good practice says do not run hadoop on the Windows (simple as that ).
Why do you want to do that?
In case you want to test something use pseudo distributed mode (run all hadoop services on one machine)
Additional thing, I would recommend to use some distribution of the hadoop, for instance cloudera.
This link explains step-by-step how to setup it.
https://ccp.cloudera.com/display/CDH4DOC/CDH4+Installation+Guide
This is pretty simple and what is the important, very briefly documented

Hadoop cluster with ubuntu and Windows

I have three laptops(with ubuntu) that I am networking to act as a cluster for hadoop. I also have a windows only machine, is it possible to add that to the cluster and make it act as a node? Is it feasible? Has anyone come across such an issue?
If you have windows environment, I would suggest that you use VirtualBox and any Linux as Guest OS.
You can build your Hadoop cluster on that. There are numerous installation procedures available for Linux and you can't go wrong with that.
We are using it exactly this way for development purposes. Performance of Hadoop cluster is not a concern as is the functionality.
It also allows you to fine tune your dev ops since you can tear apart and start afresh with a new VM.
Easiest approach to build this way is to :
Install VirtualBox
Install Vagrant
Use a community provided box from: http://www.vagrantbox.es/
Bootstrap your VM for yum packages
Move from NAT interface to Bridged Ethernet interface
Install Hadoop using SCM: http://www.cloudera.com/products-services/tools/
Bring up your cluster
Yes it is possible. On the ubuntu machines, Hadoop installation should be straightforward, you just need to follow the regular steps. Since Hadoop runs on Linux environment, you need to install Cygwin on your windows Machine which is a Linux-like environment for Windows, and will enable you to install and run Linux-based applications (like hadoop) on a Windows machine.
Here is the link for Cygwin Installation: http://www.cygwin.com/install.html

Resources