hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik Kambatla (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-10744) LZ4 Compression fails to recognize PowerPC Little Endian Architecture
Date Thu, 03 Jul 2014 05:29:38 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-10744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Karthik Kambatla updated HADOOP-10744:
--------------------------------------

    Target Version/s: 2.6.0  (was: 2.5.0)

> 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