Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a new Junit Run Configurations, pick any Pig test suite as "Test class"
  2. In "VM arguments", put "-Xmx1024m -Dhadoop.log.dir=build/test/logs"
  3. Change "Working directory" into your PIG_HOME
  4. In Classpath, add one user entries "${USER}/pigtest/conf$PIG_HOME/build/classes" and "$PIG_HOME/pig*.jar"

Troubleshooting

  • Build problems: Check if eclipse is using JDK version 1.6, pig needs it (Under Preferences/Java/Compiler).