Hi, developers When I execute hive test cases, TestHBaseCliDriver, I found that the task id is different from JDK. and the standard output file is only accepted SUN jdk.
For example, [junit] diff -a -I file: -I pfile: -I hdfs: -I /tmp/ -I invalidscheme: -I lastUpdateTime -I lastAccessTime -I [Oo]wner -I CreateTime -I LastAccessTime -I Location -I transient_lastDdlTime -I last_modified_ -I java.lang.RuntimeException -I at org -I at sun -I -I at java -I at junit -I Caused by: -I LOCK_QUERYID: -I grantTime -I [.][.][.] [0-9]* more -I USING 'java -cp /home/libing/hive/hive-0.7.1/src/build/hbase-handler/test/logs/hbase-handler/hbase_queries.q.out /home/libing/hive/hive-0.7.1/src/hbase-handler/src/test/results/hbase_queries.q.out [junit] Exception: Client execution results failed with error code = 1 [junit] 544,545c544,545 [junit] < Stage-0 is a root stage [junit] < Stage-1 depends on stages: Stage-0 [junit] --- [junit] > Stage-1 is a root stage [junit] > Stage-0 depends on stages: Stage-1 [junit] 548c548 [junit] < Stage: Stage-0 [junit] --- [junit] > Stage: Stage-1 [junit] 604c604 [junit] < Stage: Stage-1 [junit] --- [junit] > Stage: Stage-0 [junit] junit.framework.AssertionFailedError: Client execution results failed with error code = 1 [junit] at junit.framework.Assert.fail(Assert.java:47) [junit] at org.apache.hadoop.hive.cli.TestHBaseCliDriver.testCliDriver_hbase_queries(TestHBaseCliDriver.java:103) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) [junit] at java.lang.reflect.Method.invoke(Method.java:611) [junit] at junit.framework.TestCase.runTest(TestCase.java:154) [junit] at junit.framework.TestCase.runBare(TestCase.java:127) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:118) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) [junit] at junit.framework.TestSuite.run(TestSuite.java:203) [junit] at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) [junit] at junit.extensions.TestSetup$1.protect(TestSetup.java:19) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.extensions.TestSetup.run(TestSetup.java:23) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906) [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 161.618 sec [junit] Test org.apache.hadoop.hive.cli.TestHBaseCliDriver FAILED [for] /home/libing/hive/hive-0.7.1/src/hbase-handler/build.xml: The following error occurred while executing this line: [for] /home/libing/hive/hive-0.7.1/src/build.xml:213: The following error occurred while executing this line: [for] /home/libing/hive/hive-0.7.1/src/build-common.xml:484: Tests failed! What's the name of a stage depend on? Is it a bug of the test case? Thanks, Bing