hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Groschupf ...@101tec.com>
Subject Re: test fails.
Date Wed, 13 Feb 2008 19:09:54 GMT
Looks like ant clean test does not include cc-compile. I will work on  
that.
However beside that now I get this error:
Testsuite: org.apache.pig.test.TestGrunt
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.264 sec
------------- Standard Error -----------------
08/02/13 11:07:47 INFO executionengine.HExecutionEngine: Connecting to  
hadoop file system at: file:///
08/02/13 11:07:47 INFO executionengine.HExecutionEngine: Connecting to  
map-reduce job tracker at: local
------------- ---------------- ---------------

Testcase: testCopyFromLocal took 0.261 sec
	Caused an ERROR
Bad mapred.job.tracker: local
java.lang.RuntimeException: Bad mapred.job.tracker: local
	at org.apache.hadoop.mapred.JobTracker.getAddress(JobTracker.java:711)
	at  
org 
.apache 
.pig 
.backend 
.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:149)
	at org.apache.pig.impl.PigContext.connect(PigContext.java:180)
	at org.apache.pig.PigServer.<init>(PigServer.java:126)
	at org.apache.pig.PigServer.<init>(PigServer.java:117)
	at org.apache.pig.test.TestGrunt.testCopyFromLocal(TestGrunt.java:19)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at  
sun 
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 
39)
	at  
sun 
.reflect 
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 
25)




On Feb 13, 2008, at 10:55 AM, Stefan Groschupf wrote:

> Hi,
> still all test fail for me and my colleagues.
>
>
> jemez:pig joa23$ svn up
> At revision 627559.
> jemez:pig joa23$ echo $JAVA_HOME
> /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/
> jemez:pig joa23$ ant clean test
> Buildfile: build.xml
>
> clean:
>   [delete] Deleting directory /Users/joa23/Documents/workspaces/ 
> my_workspace/pig/test/reports
>
> test:
>    [mkdir] Created dir: /Users/joa23/Documents/workspaces/ 
> my_workspace/pig/test/reports
>    [junit] Running org.apache.pig.test.TestAlgebraicEval
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>    [junit] Test org.apache.pig.test.TestAlgebraicEval FAILED
>    [junit] Running org.apache.pig.test.TestBuiltin
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>    [junit] Test org.apache.pig.test.TestBuiltin FAILED
>    [junit] Running org.apache.pig.test.TestCmdLineParser
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>    [junit] Test org.apache.pig.test.TestCmdLineParser FAILED
>    [junit] Running org.apache.pig.test.TestCompressedFiles
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>    [junit] Test org.apache.pig.test.TestCompressedFiles FAILED
>    [junit] Running org.apache.pig.test.TestDataBag
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>    [junit] Test org.apache.pig.test.TestDataBag FAILED
>    [junit] Running org.apache.pig.test.TestDataModel
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>    [junit] Test org.apache.pig.test.TestDataModel FAILED
>    [junit] Running org.apache.pig.test.TestEvalPipeline
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>    [junit] Test org.apache.pig.test.TestEvalPipeline FAILED
>    [junit] Running org.apache.pig.test.TestFilterOpNumeric
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>    [junit] Test org.apache.pig.test.TestFilterOpNumeric FAILED
>    [junit] Running org.apache.pig.test.TestFilterOpString
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>    [junit] Test org.apache.pig.test.TestFilterOpString FAILED
>    [junit] Running org.apache.pig.test.TestGrunt
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>    [junit] Test org.apache.pig.test.TestGrunt FAILED
>    [junit] Running org.apache.pig.test.TestInfixArithmetic
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>    [junit] Test org.apache.pig.test.TestInfixArithmetic FAILED
>    [junit] Running org.apache.pig.test.TestLogicalPlanBuilder
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>    [junit] Test org.apache.pig.test.TestLogicalPlanBuilder FAILED
>    [junit] Running org.apache.pig.test.TestMapReduce
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>    [junit] Test org.apache.pig.test.TestMapReduce FAILED
>    [junit] Running org.apache.pig.test.TestPigFile
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>    [junit] Test org.apache.pig.test.TestPigFile FAILED
>    [junit] Running org.apache.pig.test.TestPigServer
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>    [junit] Test org.apache.pig.test.TestPigServer FAILED
>    [junit] Running org.apache.pig.test.TestPigSplit
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>    [junit] Test org.apache.pig.test.TestPigSplit FAILED
>    [junit] Running org.apache.pig.test.TestStore
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>    [junit] Test org.apache.pig.test.TestStore FAILED
>
> BUILD FAILED
> /Users/joa23/Documents/workspaces/my_workspace/pig/build.xml:135:  
> Tests failed!
>
>
>
> Testsuite: org.apache.pig.test.TestAlgebraicEval
> Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>
>        Caused an ERROR
> org.apache.pig.test.TestAlgebraicEval
> java.lang.ClassNotFoundException:  
> org.apache.pig.test.TestAlgebraicEval
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java: 
> 288)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java: 
> 374)
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Class.java:169)
>
>
> :-o
>
>
> What we do wrong?
> Thanks.
> Stefan
>
>
> On Feb 6, 2008, at 9:12 AM, Alan Gates wrote:
>
>> I'm updated to r619076 and I'm not seeing that.  How do the tests  
>> fail?  What environment are you developing in?
>>
>> Alan.
>>
>> P.S. I'm developing on a Linux box, using Java 1.6.0.
>>
>> Stefan Groschupf wrote:
>>> Hi there,
>>> on r618816 at least on my box and on the one of my colleagues all  
>>> test fail.
>>> Anyone know what this is all about?
>>> Thanks.
>>> Stefan
>>>
>>>
>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> 101tec Inc.
>>> Menlo Park, California, USA
>>> http://www.101tec.com
>>>
>>>
>>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 101tec Inc.
> Menlo Park, California, USA
> http://www.101tec.com
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101tec Inc.
Menlo Park, California, USA
http://www.101tec.com



Mime
View raw message