Posts

Showing posts from April, 2016

Hello World Program in Java

Image
To learn any programming language we start with Hello World program. After completion of my Hibernate tutorial series now planing to start series of java tutorial, and in this tutorial, I will show you how to create your first hello world program in java. I am using eclipse to create this basic program, you just need to follow the below steps. Open your IDE Go to File->New->Java Project(provide the project name) Right click on created project->New->Class(give the name of class) It will open an editor, where you can write your code. Below is the complete Hello World program. HelloWorld.java public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!!!"); } } To run, right click on the class and select run as java application or click on run symbol on the menu bar. Here , I have explained each part of the main method.

Java Anonymous Class Tutorial

Image
One of the important feature of java, most of the developer are avoid to using the anonymous classes and for beginners, It's difficult to understand the concept of anonymous class and their use at-least for me when I was doing the java classes. What is Anonymous class A class having no name is known as Anonymous class, Anonymous classes are expression, which means one can declare and instantiate a class at the same time. When to use Anonymous class? Use to keep you code short and simple. Use them, if you want to use them only once. For quick and dirty task. How to use Anonymous class searchBtn.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { // do search. } }); Example package com.javamakeuse.anonymous; public class AnonymousExample { abstract class Flyable { abstract void fly(); } public static void main(String[] args) { AnonymousExample an = new AnonymousExample(); Flyable flyableObj = an.new Flyab...

Top 10 Big Data learning Books

Image
To learn Big data technologies one can join institute/training centre, or can watch videos on YouTube, learn from blogs,tutorials bla.. bla.. But I would say books are always a very good material to learn anything beat Java, Hadoop, Cooking etc. In terms of technology, nowadays big data technologies are on demand and most search able items on the internet, here I have listed top 10 resources to learn big data technology. In this post, I am going to list top 10 or you can say very popular books to learn Big data. If you want learn a hello world program in Hadoop MapReduce framework, than you may follow this step by step guide to learn Hello world in Hadoop . Top 10 Big Data Books 1. The Data Lake Development with Big Data: Authors Pradeep Pasupuleti and Beulah Salome Purra. This book mainly explore architectural approaches to building Data Lakes that ingest, index, manage, and analyse massive amounts of data using Big Data technologies. It will focus on architect data gov...

Hadoop vs Grid Computing

Image
Well, Is it really too late to describe the differences between Hadoop and Grid computing?? I think no, that's why I am going to list few key differences between them. So that you can easily figure it out why "Grid Computing getting obsolete" Yes you are right it is about "Why Grid Computing getting obsolete" Nowadays, Hadoop is getting on demand and becomes the industry favourite one although same can be done with Grid computing also and even it was, but nowadays it getting obsolete. Let's see below are the key differences between these two power pack technologies. Hadoop Vs Grid Computing Grid Computing - Works well for predominantly compute intensive jobs, but it becomes a problem when nodes need to access larger data volumes (hundreds of gigabytes), since the network bandwidth is the bottleneck and compute nodes become idle. Whereas, Hadoop - Tries to co-locate the data with the compute nodes, so data access is fast because it is local.This feature...

Top 10 Big Data Technologies Learning Resources | Big Data Tutorials

Image
Well nowadays and next in future is all about data,data and nothing else, everywhere data, data growth rate is unexpected some of social media generating TBs of data in every day and growing. IoT generating TBs of data every day and to process these datasets. Market needs Big Data technologies expert, and that is why you are here, so learning big data technologies are very important at-lest for handsome money. And still not too late, so go grab it and increase the weighted of your resume, that is why, I am going to share you the top 10 learning resource around the internet except video tutorial, I am not listing the you tube tutorials here. Top 10 Big Data technology learning resources # 1. In the list, my favourite one http://hadoop.apache.org/ # 2. One of the popular distribution in the Big Data market http://www.cloudera.com/training/library/tutorials.html # 3. Of course it's yahoo, where Hadoop developed, so here developer.yahoo.com/hadoop/tutorial/ # 4. Yes you ar...

Secondary Sort Example in Hadoop | Hadoop Tutorial

Image
A Secondary sort is one of the very very important feature of Hadoop MapReduce framework. We know that the output of the MapReduce framework is sorted based on the key and it's by default, but the values are not sorted. In this tutorial,I am going to show you an example of Secondary sort but before implementing the secondary sort it's important to understand the custom data type and custom partitioner in Hadoop MapReduce framework. What is Secondary Sort? Secondary sorting in MapReduce framework is a technique to sort the output of the reducer based on the values unlike the default one where output of the MapReduce framework is sorted based on the key of the mapper/reducer. So the order of the values can be sorted either in ascending or descending order using secondary sort. In this tutorial, I will show you an implementation example of Secondary sort, we will process the product review sample dataset, below is the columns of product review dataset. reviewerID produc...