...
- Open Eclipse
- Select File->Import
- Select General->Existing Projects Into Workspace
- Select root directory (point to <top-level-directory>)
- Click Finish
- Project -> Properties -> Java Build Path -> Source -> Add Folder test/perf/pigmix/src/java
- Project -> Properties -> Java Build Path -> Libraries -> Remove javacc-4.2.jar.
- Project -> Properties -> Java Build Path -> Libraries -> Add JAR test/perf/pigmix/lib/sdsuLibJKD12.jar.
- Project -> Properties -> Java Build Path -> Libraries -> Add External JAR hadoop-yarn-server-applicationhistoryservice-*.jar. (I had to find and download this jar myself. It is needed for running tests.)
Run Pig Main
- Create a new Run Configurations
- Pick "org.apache.pig.Main" as the Main class
...