Setting up an Eclipse project

When you need to write new programs for Hadoop, you need a development environment for coding. There are multiple Java IDEs available, and Eclipse is the most widely used open source IDE for your development. You can download the latest version of Eclipse from

In addition to Eclipse, you also need JDK 8 for compiling and running your programs. When you write your program in an IDE such as Eclipse or NetBeans, you need to create a Java or Maven project. Now, once you have downloaded Eclipse on your local machine, follow these steps:

  1. Open Eclipse and create a new Java Project:

FileNew | Java Project

See the following screenshot:

  1. Once a project is created, you will need to add Hadoop ...

Get Apache Hadoop 3 Quick Start Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.