>From the result, we can see that the difference between the source file and 
>target file is only the path which should be masked when being compared.

Bing

--- 11年8月22日,周一, 李 冰 <lib...@yahoo.com.cn> 写道:

发件人: 李 冰 <lib...@yahoo.com.cn>
主题: hive-0.7.1: TestCliDriver FAILED
收件人: user@hive.apache.org
抄送: d...@hive.apache.org
日期: 2011年8月22日,周一,下午10:43

Hi, all
When I try to run the standard test cases in Hive 0.7.1 against SUN 1.6 JDK, I 
found that TestCliDriver failed.

The version of the JDK I used is:
java version "1.6.0_27-ea"
Java(TM) SE Runtime Environment (build 1.6.0_27-ea-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.2-b03, mixed mode)


My steps:
1. ant clean
2. ant package
3. ant test

Here is a snapshot of the failure:

    [junit] Done query: script_env_var2.q
    [junit] Begin query: script_pipe.q
    [junit] junit.framework.AssertionFailedError: Client execution results 
failed with error code = 1
    [junit] See build/ql/tmp/hive.log, or try "ant test ... 
-Dtest.silent=false" to get more logs.
    [junit]     at
 junit.framework.Assert.fail(Assert.java:47)
    [junit]     at 
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_script_pipe(TestCliDriver.java:21067)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit]     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:597)
    [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 
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] 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 at java -I at junit -I Caused 
by: -I LOCK_QUERYID: -I grantTime -I [.][.][.] [0-9]* more -I USING 'java -cp 
/home/libing/hive-0.7.1/src/build/ql/test/logs/clientpositive/script_pipe.q.out 
/home/libing/hive-0.7.1/src/ql/src/test/results/clientpositive/script_pipe.q.out
    [junit] 143c143,144
    [junit] < POSTHOOK: Output: 
file:/tmp/libing/hive_2011-08-21_23-27-41_670_8767305526316071428/-mr-10000
    [junit] ---
    [junit] > POSTHOOK: Output:
 file:/tmp/sdong/hive_2011-02-10_17-04-27_817_7785884157237702561/-mr-10000
    [junit] > 238       val_238 238     val_238
    [junit] Exception: Client execution results failed with error code = 1
    [junit] See build/ql/tmp/hive.log, or try "ant test ... 
-Dtest.silent=false" to get more logs.
    [junit] Begin query: select_as_omitted.q

Have you met this before?

Thanks

Reply via email to