hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Xu <frank...@gmail.com>
Subject Unit test failed because of statistics mismatch?
Date Wed, 08 Jan 2014 14:18:24 GMT
Hi all,

I have problem running several unit tests related to statistics,
e.g., alter_partition_coltype.q.

The diff log is listed following:


----
Running: diff -a
/home/tedxu/src/hive.trunk/itests/qtest/../../itests/qtest/target/qfile-results/clientpositive/alter_partition_coltype.q.out
/home/tedxu/src/hive.trunk/itests/qtest/../../ql/src/test/results/clientpositive/alter_partition_coltype.q.out
116c116
<                 numRows: 0 dataSize: 216 basicStatsState: PARTIAL
colStatsState: COMPLETE
---
>                 numRows: 25 dataSize: 191 basicStatsState: COMPLETE
colStatsState: COMPLETE
120c120
<                   numRows: 0 dataSize: 216 basicStatsState: PARTIAL
colStatsState: COMPLETE
---
>                   numRows: 25 dataSize: 191 basicStatsState: COMPLETE
colStatsState: COMPLETE
156c156
<               numRows 0
---
>               numRows 25
158c158
<               rawDataSize 0
---
>               rawDataSize 191
(And more...)

----

I did the unit test according to the developer guide
https://cwiki.apache.org/confluence/display/Hive/DeveloperGuide, using
maven. My OS is Ubuntu 12.04.

I guess it was something related to my config/environment. Please let me
know if you have any idea, thanks!

-- 
Ted Xu
Alibaba Inc.
Hangzhou, China

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