Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # dev >> HBase 0.94.6 TestHFileBlock fails testGzipCompression test with Snappy enabled


Copy link to this message
-
Re: HBase 0.94.6 TestHFileBlock fails testGzipCompression test with Snappy enabled
The test uses GZ compression:

    assertEquals(correctTestBlockStr, createTestBlockStr(GZ,

        correctGzipBlockLength));

Can you tell us what codecs are present in your java.library.path ?

Pastebin'ing test output would help.

Cheers

On Tue, Apr 23, 2013 at 10:04 AM, Kumar Ravi <[EMAIL PROTECTED]> wrote:

> Hi All,
>
>  I am seeing a testGzipCompression test failure with Snappy enabled with
> the following message on the console on an x86_64 platform. I tried this
> with IBM Java 6 as well as Oracle Java 6. Is there something that I might
> have missed in terms of flags or env. variables?
>
> Following is the command used:
>
> mvn test -Psecurity -Dsnappy -Dhadoop.version=1.1.2
> -Dzookeeper.version=3.4.5
>
> -Dargline="-Djava.library.path=/usr/lib64:/home/kumarr/hadoop-core/build/native/Linux-amd64-64/lib:/home/kumarr/hbase-0.94.6/target/nativelib/"
>
>
> Failure message:
>
> Failed tests:
> testGzipCompression[0](org.apache.hadoop.hbase.io.hfile.TestHFileBlock):
> expected:<...Cs\xA0\x0F\x00\x00\x[AB\x85g\x91]> but
> was:<...Cs\xA0\x0F\x00\x00\x[E1\x1C\x10\xE5]>
>   testGzipCompression[1](org.apache.hadoop.hbase.io.hfile.TestHFileBlock):
> expected:<...Cs\xA0\x0F\x00\x00\x[AB\x85g\x91]> but
> was:<...Cs\xA0\x0F\x00\x00\x[E1\x1C\x10\xE5]>
>
> Tests run: 857, Failures: 2, Errors: 0, Skipped: 2
>
> Would appreciate any insight on this.
>
> Regards,
> Kumar