I have a wrapper script to switch between Pig versions and clusters. export PIG_HOME=$HOME/tools/Linux/hadoop/pig-$PIG_VERSION export JAVA_HOME=$HOME/tools/Linux/jdk/jdk$JAVA_VERSION/ export PIG_CLASSPATH=$HOME/apps/gridforce/main/hadoop/conf/$HADOOP_CLUSTER
HADOOP_CLUSTER contains the hadoop configs (endpoints) for the cluster I want to point to. And then I do this to start pig. $PIG_HOME/bin/pig This works with previous versions pig-0.8.0 and pig-0.9.1. However, pig-0.10.0 fails to pick up the right classpath. $ ./pig.sh .. ..... ...... 2012-04-23 20:42:35,340 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:/// Is this something with my script, or may be the new version (0.10.0)? -Prashant On Mon, Apr 23, 2012 at 8:30 PM, Dmitriy Ryaboy <[email protected]> wrote: > Uh, actually, one of the test-commit tests failed in my environment. > > In TestPigServer: > > Testcase: testDefaultPigProperties took 0.033 sec > Caused an ERROR > null > java.lang.NullPointerException > at > org.apache.pig.test.TestPigServer.testDefaultPigProperties(TestPigServer.java:895) > > Something about my environment? > > D > > > On Mon, Apr 23, 2012 at 6:36 PM, Dmitriy Ryaboy <[email protected]> > wrote: > > +1 > > > > > > Verified several jobs using Elephant-Bird loaders. > > Tested correctness with pig.exec.mapPartAgg both true and false. > > Verified license. > > Verified release notes. > > Ran test-commit > > > > D > > > > On Sat, Apr 21, 2012 at 12:27 PM, Daniel Dai <[email protected]> > wrote: > >> We should do sanity check of the package, such as unit tests, e2e > >> tests, piggybank tests, package integrity, package signature, license, > >> etc. However, if we find a new bug, usually we will push it to the > >> next release at this stage unless it is a critical one. > >> > >> Thanks, > >> Daniel > >> > >> On Sat, Apr 21, 2012 at 12:48 AM, Prashant Kommireddi > >> <[email protected]> wrote: > >>> Hi Daniel, > >>> > >>> What is required other than running the regular tests for testing > release > >>> candidate? I can think of running a few existing scripts against > candidate > >>> build and making sure outputs look fine. > >>> > >>> Thanks, > >>> Prashant > >>> > >>> On Fri, Apr 20, 2012 at 12:39 AM, Daniel Dai <[email protected]> > wrote: > >>> > >>>> Hi, > >>>> > >>>> I have created a candidate build for Pig 0.10.0. > >>>> > >>>> Keys used to sign the release are available at > >>>> http://svn.apache.org/viewvc/pig/trunk/KEYS?view=markup. > >>>> > >>>> Please download, test, and try it out: > >>>> > >>>> http://people.apache.org/~daijy/pig-0.10.0-candidate-0/ > >>>> > >>>> Should we release this? Vote closes on next Tuesday, Apr 24th. > >>>> > >>>> Daniel > >>>> >
