Check out the Latest Articles:

Thursday, 18 December 2014

Steps required to complete Hadoop 2.4.x installation

1.    Install  Java 

       you should have installed java 6 or more version of your ubuntu machine,
       if not install it by executing this command

      sudo apt-get install java-<version>jdk.

2.    Password less ssh among your cluster nodes. If you intended for single
       node setup, then do password less ssh for your own localhost.

      
     $ ssh-keygen -t rsa
     $ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
     $ chmod 0600 ~/.ssh/authorized_keys


3.    Download Hadoop 2.4.0 <version>
       you can download and unpacked it in any directory you want, in our case
       it is /home/<username>/hadoop

4.    Configuration and Variable to set.

       4.1
       Go to bash file located in /home/<username>/.bashrc
       set these variables in bashrc file.
      4.2
       Configure hadoop configuration files. These file used for setting your hadoop cluster  infrastr-ucture according to your need .Configuration files can be found in this location.

       $HADOOP_HOME/etc/ hadoop/

       Edit core-site.xml
   
       Edit hdfs-site.xml
       

    
       Edit mapred-site.xml

       Edit yarn-site.xml
   
       4.3
 
       Formate NameNode
   
       Now format the namenode using following command, make sure that 
       Storage directory is

5.   Start  Hadoop Cluster

      Lets start your hadoop cluster using the scripts provides by hadoop. Just
      navigate to your hadoop sbin directory and execute scripts one by one.
      Now run start-yarn.sh script.
     
   
5.   Access Hadoop Cluster
     you can access namenode or hdfs by typing below url to your browser
      address bar
      http://localhost:50070

      for access yarn job runner web UI
      http://localhost:50030

6.   Varify Installation
      run jps on cosole and if console has output similar to this then your hadoop
      cluster is running.

$ jps
      22859 Jps
      18989 DataNode
      12356 ResourceManager
      15897 NodeManager
      23564 NameNode

Monday, 15 December 2014

Quickly emerging as a mainstream use of Hadoop is the concept of the data lake, sometimes called the bit bucket or the landing zone. Organizations know that all of the data they originate or buy could be the source of valuable insights that will create value. Currently most companies use very little of their data, because the current technologies used to process and manage data are prohibitively expensive to consider using for ALL of the data.

Data Lake - a place to store practically unlimited amounts of data of any format, schema and type that is relatively inexpensive and massively scaleable. Data processing software is available to transform the data from its raw state to a finished product.

Hadoop is ideally suited to this use case and no other technology is so well suited. The Hadoop software is relatively inexpensive to buy and operate and is supported by many companies. Hadoop was designed to run on very cheap servers and in fact it works best on these inexpensive servers and many companies have stepped forward to build, sell and service this “commodity hardware”. Hadoop implements a very scalable parallel processing framework that will process exceedingly large amounts of data in a tractable way, and makes it almost impossible to lose data, as it is replicated in triplicate across the cluster.

Hadoop, unlike traditional database management systems (DBMS), deals well with data of any type. Current DBMS’s require that the data managed by the system all fit into a common schema or metamodel. 

So, Hadoop has all of the attributes to be a data lake.

Is a data lake useful to a large enterprise? Most companies use very little of the data generated in the course of business mainly because it is very expensive and time consuming to actually use it for analysis. It can easily cost tens or hundreds of millions of dollars and two to three years using current technology to build a custom analysis of, for example, customer behavior using data from say, a dozen of your customer-oriented IT systems. Many companies bear these costs now because the insight gained from the analysis is so valuable, but they have not applied the same kind of analytical effort to the hundreds or thousands of other data sources they create and own, because of the prohibitive cost.

What if a data lake in conjunction with a small set of relatively inexpensive tools can help an organization derive critical analytical insights from ALL of their data, not just the small sliver they are currently working with? 

It can, right now.