[ https://issues.apache.org/jira/browse/KAFKA-2543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guozhang Wang resolved KAFKA-2543. ---------------------------------- Resolution: Cannot Reproduce > facing test failure while building apache-kafka from source > ----------------------------------------------------------- > > Key: KAFKA-2543 > URL: https://issues.apache.org/jira/browse/KAFKA-2543 > Project: Kafka > Issue Type: Bug > Components: build > Affects Versions: 0.8.2.1 > Environment: Linux ppc 64 le > Reporter: naresh gundu > Fix For: 0.8.1.2 > > Original Estimate: 48h > Remaining Estimate: 48h > > I have run below steps from github https://github.com/apache/kafka to > building apache kafka branch 0.8.1.2 > cd source-code > gradle > ./gradlew jar > ./gradlew srcJar > ./gradlew test > error : > org.apache.kafka.common.record.MemoryRecordsTest > testIterator[2] FAILED > org.apache.kafka.common.KafkaException: > java.lang.reflect.InvocationTargetException > at > org.apache.kafka.common.record.Compressor.wrapForOutput(Compressor.java:217) > at org.apache.kafka.common.record.Compressor.<init>(Compressor.java:73) > at org.apache.kafka.common.record.Compressor.<init>(Compressor.java:77) > at org.apache.kafka.common.record.MemoryRecords.<init>(MemoryRecords.java:43) > at > org.apache.kafka.common.record.MemoryRecords.emptyRecords(MemoryRecords.java:51) > at > org.apache.kafka.common.record.MemoryRecords.emptyRecords(MemoryRecords.java:55) > at > org.apache.kafka.common.record.MemoryRecordsTest.testIterator(MemoryRecordsTest.java:42) > Caused by: > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:526) > at > org.apache.kafka.common.record.Compressor.wrapForOutput(Compressor.java:213) > ... 6 more > Caused by: > java.lang.UnsatisfiedLinkError: > /tmp/snappy-unknown-fe798961-3b66-41f3-808a-68ebd27cc82d-libsnappyjava.so: > /tmp/snappy-u nknown-fe798961-3b66-41f3-808a-68ebd27cc82d-libsnappyjava.so: > cannot open shared object file: No such file or directory (Possible ca use: > endianness mismatch) > at java.lang.ClassLoader$NativeLibrary.load(Native Method) > at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851) > at java.lang.Runtime.load0(Runtime.java:795) > at java.lang.System.load(System.java:1062) > at org.xerial.snappy.SnappyLoader.loadNativeLibrary(SnappyLoader.java:166) > at org.xerial.snappy.SnappyLoader.load(SnappyLoader.java:145) > at org.xerial.snappy.Snappy.<clinit>(Snappy.java:47) > at org.xerial.snappy.SnappyOutputStream.<init>(SnappyOutputStream.java:90) > at org.xerial.snappy.SnappyOutputStream.<init>(SnappyOutputStream.java:83) > ... 11 more > 267 tests completed, 1 failed > :clients:test FAILED > please help me fix the failure test case -- This message was sent by Atlassian JIRA (v6.3.4#6332)