hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 李 冰 <>
Subject 回复: hive-0.7.1: TestCliDriver FAILED
Date Tue, 23 Aug 2011 02:09:53 GMT
>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.


--- 11年8月22日,周一, 李 冰 <> 写道:

发件人: 李 冰 <>
主题: hive-0.7.1: TestCliDriver FAILED
日期: 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]     at org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_script_pipe(
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    [junit]     at java.lang.reflect.Method.invoke(
    [junit]     at junit.framework.TestCase.runTest(
    [junit]     at junit.framework.TestCase.runBare(
 at junit.framework.TestResult$1.protect(
    [junit]     at junit.framework.TestResult.runProtected(
    [junit]     at
    [junit]     at
    [junit]     at junit.framework.TestSuite.runTest(
    [junit]     at
    [junit]     at
    [junit]     at
    [junit]     at
    [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
    [junit] 143c143,144
    [junit] < POSTHOOK: Output: file:/tmp/libing/hive_2011-08-21_23-27-41_670_8767305526316071428/-mr-10000
    [junit] ---
    [junit] > POSTHOOK: Output:
    [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?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message