Test Run WordCount on Cloudera

Download and install Cloudera –> link 1. Download Hadoop Libraries You will require hadoop libraries to run WordCount. First, check your Hadoop version. Go to Terminal -> run command $ hdfs version Or $ hadoop version In this case, Hadoop version is 2.6.0, so we will need to download libraries exactly as this version. You can download Hadoop Read More…

It's only fair to share...Share on FacebookTweet about this on TwitterShare on LinkedInShare on Google+Pin on PinterestEmail this to someone

Download & Install Cloudera on VirtualBox

Get Cloudera First, go to http://www.cloudera.com/ Click on Sign In, you will need an account to download Cloudera, if you don’t have an account yet, click on Register Now. After finished Register or Sign In, go to http://www.cloudera.com/downloads.html to download Cloudera. Under Quick Start, click on Download Now Select Version and Platform: Virtual Box, then Read More…

It's only fair to share...Share on FacebookTweet about this on TwitterShare on LinkedInShare on Google+Pin on PinterestEmail this to someone

Why Study Algorithms?

Increase application performance Academic pursuit Analyse Technique Learn more about Computer Science And many more… It’s only fair to share…

It's only fair to share...Share on FacebookTweet about this on TwitterShare on LinkedInShare on Google+Pin on PinterestEmail this to someone

Node of Binary Search Tree

First, we need a class of node objects. These objects contain the data representing the objects being stored (employees in an employee database, for example) and also references to each of the node’s two children. Here’s how that looks: class Node{ int iData; //data used as key value float fData; //other data node leftChild; //this Read More…

It's only fair to share...Share on FacebookTweet about this on TwitterShare on LinkedInShare on Google+Pin on PinterestEmail this to someone

Binary Tree Terms

A node without children is called a A special type of binary tree called a binary search tree is often useful. Keeping data stored in a sorted order is a way to optimize searches on the data. A binary search tree is a binary tree with the following property. At each node N, every value Read More…

It's only fair to share...Share on FacebookTweet about this on TwitterShare on LinkedInShare on Google+Pin on PinterestEmail this to someone

Fundamental Operations on Binary Search Tree

The fundamental operations on a BST are: public void insert(Integer val) public void find(Integer val) public boolean remove(Integer val) public void print()   When implemented properly, BSTs perform insertions and deletions faster than can be done on Linked Lists and performs any find with as much efficiency as the binary search on a sorted array. Read More…

It's only fair to share...Share on FacebookTweet about this on TwitterShare on LinkedInShare on Google+Pin on PinterestEmail this to someone

What is Binary Search Tree?

Binary Search Tree arose as a natural solution to the need for incorporating efficient insertion and deletion capabilities of linked lists with the support provided for fast sorting and binary search of sorted elements available in arrays and array lists. Expansion from a linear structure to a two-dimensional structure makes a solution of this kind Read More…

It's only fair to share...Share on FacebookTweet about this on TwitterShare on LinkedInShare on Google+Pin on PinterestEmail this to someone

Install Ruby and Rubygems on CentOS 6.5

Install Ruby # wget http://ftp.ruby-lang.org/pub/ruby/2.3/ruby-2.3.1.tar.gz # tar xvzf ruby-2.3.1.tar.gz # cd ruby-2.3.1 # ./configure –prefix=/usr # make # make install Remove Ruby remove “ruby-2.3.1” folder Install RubyGems # wget https://rubygems.org/rubygems/rubygems-2.6.6.tgz # tar xvzf rubygems-2.6.6.tgz # cd rubygems-2.6.6 # ruby setup.rb config # ruby setup.rb setup # ruby setup.rb install Remove RubyGems remove “rubygems-2.6.6” folder It’s only fair Read More…

It's only fair to share...Share on FacebookTweet about this on TwitterShare on LinkedInShare on Google+Pin on PinterestEmail this to someone

In Memory of my Dog, Lucky

A sad day for me. I did not just lose a pet. I lost a family member. I lost my best friend. I lost the one who always understands me. Who stays with me all the time when I feel happy or unhappy. I remember you always wait for me when I arrive from school Read More…

It's only fair to share...Share on FacebookTweet about this on TwitterShare on LinkedInShare on Google+Pin on PinterestEmail this to someone