Hi Folks

I'm working on getting Hive 0.5 working on Apache Harmony and IBM Java 6. 
I've almost got it passing everything running "ant clean test tar", but at 
least half the asserts in the TestParse TestCase are failing with the 
AssertionFailedError's of "Unexpected Exception" and "Semantic Analysis 
has unexpected output with error code = 1". I've located the TestParse.xml 
file, which has the JVM Properties used along with the System Out and 
Error for the Testcase, which shows the errors I mentioned. 

I've seen some other tickets with this exception, but they are resolved 
already in 0.5. Clearly, this was all tested with SUN Java and this issue 
does not show up with that JRE, but given that I'm trying to get it 
working on alternate JREs, can anyone point me in a direction that might 
help me get to the bottom of the issue?

junit.framework.AssertionFailedError: Semantic Analysis has unexpected 
output with error code = 1
at junit.framework.Assert.fail(Assert.java:47)
at 
org.apache.hadoop.hive.ql.parse.TestParse.testParse_case_sensitivity(TestParse.java:107)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:422)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:931)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:785)

Regards
Steve Watt 

Reply via email to