Thanks Andrew, That patch works!!
Regards, Kumar Ravi From: Andrew Purtell <[email protected]> To: "[email protected]" <[email protected]>, Date: 04/23/2013 01:45 PM Subject: Re: HBase 0.94.6 TestHFileBlock fails testGzipCompression test with Snappy enabled This is https://issues.apache.org/jira/browse/HBASE-7921 On Tue, Apr 23, 2013 at 10:38 AM, Ted Yu <[email protected]> wrote: > 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 > -- Best regards, - Andy Problems worthy of attack prove their worth by hitting back. - Piet Hein (via Tom White)
