hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bert Sanders (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10744) LZ4 Compression fails to recognize PowerPC Little Endian Architecture
Date Tue, 24 Jun 2014 15:00:35 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-10744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14042208#comment-14042208
] 

Bert Sanders commented on HADOOP-10744:
---------------------------------------

Seems related to :
https://code.google.com/p/lz4/issues/detail?id=131

Apparently solved within current LZ4 development version :
https://github.com/Cyan4973/lz4/tree/dev


> LZ4 Compression fails to recognize PowerPC Little Endian Architecture
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-10744
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10744
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: io, native
>    Affects Versions: 2.2.0, 2.3.0, 2.4.0
>         Environment: PowerPC Little Endian (ppc64le)
>            Reporter: Ayappan
>         Attachments: HADOOP-10744.patch
>
>
> Lz4 Compression fails to identify the PowerPC Little Endian Architecture. It recognizes
it as Big Endian and several testcases( TestCompressorDecompressor, TestCodec, TestLz4CompressorDecompressor)
 fails due to this.
> Running org.apache.hadoop.io.compress.TestCompressorDecompressor
> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.435 sec <<<
FAILURE! - in org.apache.hadoop.io.compress.TestCompressorDecompressor
> testCompressorDecompressor(org.apache.hadoop.io.compress.TestCompressorDecompressor)
 Time elapsed: 0.308 sec  <<< FAILURE!
> org.junit.internal.ArrayComparisonFailure: org.apache.hadoop.io.compress.lz4.Lz4Compressor_org.apache.hadoop.io.compress.lz4.Lz4Decompressor-
 byte arrays not equals error !!!: arrays first differed at element [1428]; expected:<4>
but was:<10>
>         at org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:50)
>         at org.junit.Assert.internalArrayEquals(Assert.java:473)
>         at org.junit.Assert.assertArrayEquals(Assert.java:294)
>         at org.apache.hadoop.io.compress.CompressDecompressTester$CompressionTestStrategy$2.assertCompression(CompressDecompressTester.java:325)
>         at org.apache.hadoop.io.compress.CompressDecompressTester.test(CompressDecompressTester.java:135)
>         at org.apache.hadoop.io.compress.TestCompressorDecompressor.testCompressorDecompressor(TestCompressorDecompressor.java:58)
> .......
> .......
> .....



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message