private int CalculateAge(int year, int month, int day)
int age = 0;
age = DateTime.Now.Year - year;
if (DateTime.Now.Month < month)
if (DateTime.Now.Month == month)
if (DateTime.Now.Day < day)
As I am planning to learn Hadoop, I wanted to install Hadoop (2.7.3) on my Ubuntu (16.04 LTS) and I followed the steps mentioned in the documentation on the Apache Hadoop website. I encountered few problems which are mentioned below, spent some time finding solution to them.
Below are the steps I followed and the description of the error is at the end of this post and also I have mentioned what I missed and what caused these errors.
Step 1. Download Hadoop installation file. For Hadoop 2.7.3 version I used the following link
Java Script Code to Find Key code