Code , Debug & Test Apache Pig Scripts using Eclipse on Windows

Abhijit Suresh Shingate

Introduction

While developing a software, knowing how to debug the code is the most important part. It helps to solve any bugs in the code easily as well as helps us understand the internals of dependent framework code. It definitely applies to Apache Pig scripting. In this blog i will explain how to Code , Debug & Test Apache Pig Scripts using Eclipse on Windows.

Prerequisites:

  1. Install Eclipse Juno or above
  2. Install m2eclipse plugin
  3. Install JDK 1.6 or above
  4. Install Cygwin 1.7.5 or above
  5. <CYGWIN_HOME>/bin folder is added into PATH environment variable. CYGWIN_HOME is the installation directory of cygwin.

Steps:

Before you start with following steps, make sure all prerequisites are met.

1. Start Eclipse

2. From Eclipse File menu, create a new project.

01 Createnewproject3. From New Project wizard, select Maven project and click on Next button.

02 createmavenproject

4. On New Maven Project screen, click on next button

03 createmavenproject2

5. Select “maven-archtype-quicktype”…

View original post 675 more words

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s