How to Compile Hadoop Applications using IntelliJ IDEA

29 Jan

The hadoop uses IntelliJ IDEA (Intelligent Java IDE) tool for building  the hadoop packages.

Steps to compile sample program in IntelliJ Idea

1) Downloading the IntelliJ IDEA tool from following link

2) Create hadoop application with IntelliJ IDEA

(i) Start IntelliJ IDEA.

(ii) Click Create new project

(iii) The project type is set to Java. Browse and select the Java SE  Development Kit 7 (JDK) installation folder on project SDK. Click Next.

(iv) Set the project name and project location and then click finish.

(v) In the Project Explorer, right-click the src folder. Select New –> Java Class.

3) Configuring Module Dependencies and Libraries

(i) Select File->Project Structure.

(ii) Click on Modules under “Project Settings.”

(iii) Select the Dependencies tab then click on the + at the right of the  screen. Select JARS or directories.

4) Run the project

(i) Select Run->Edit Configurations

(ii) Click on Application under “Run/Debug Configurations”

(iii) Select the Configuration tab then give the class name in “Main class” and set the input and output directory in “Program arguments” tags.

5) Compile the Hadoop Application

(i) Select Run-> Run

(ii) The outputs are generated in output directory with a file called _SUCCESS and part-r-00000.

For Further Details:

S-Logix (OPC) Private Limited

Registered Office:

#5, First Floor, 4th Street

Dr. Subbarayan Nagar, Kodambakkam

Chennai-600 024, India

Landmark : ( Samiyar Madam)

Research Projects :

Email – ,  Mobile : +91- 8124001111.

Ph.D Guidance & Consulting :

Email – , Mobile : +91- 9710999001.

Leave a comment

Posted by on January 29, 2016 in Uncategorized


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s