­
CDH

Accessing Cloudera's CDH using SSH

8:41 PM
Recently, I started learning Hadoop and practised MapReduce jobs on a linux distribution called CDH (Cloudera Distribution Including Apache Hadoop). It is an excellent VM loaded with Hadoop Ecosystem applications. This VM has CentOS as the operating system installed on it. In this tutorial, I will walk through how to SSH the VM and run commands from your local terminal other than performing all...

Read More...

Triangle traversal to get maximum sum

7:46 PM
import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; public class Problem_18 { private static int heightOfTree = 100; private final String fileName = "problem_67.in"; private int[][] tree; public int maxValue() throws IOException { readTree(); for (int i = Problem_18.heightOfTree - 2; i >= 0; i--) for (int j = 0; j <= i; j++) tree[i][j] += tree[i + 1][j] > tree[i + 1][j + 1]...

Read More...

Autocomplete

Autocomplete with Google Maps API

3:41 AM
In case you are building a Web Application which needs a simple feature like selecting address from Google Map location suggestion then below solution can be used. It is a very simple solution where input fields of the HTML are binded with Google Maps Web service.  Demo : Link Below is the code:  <!DOCTYPE html> <html> <head> <title>Place Autocomplete Address Form</title> <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true&libraries=places"></script>...

Read More...

Popular Posts

Like us on Facebook

Flickr Images