pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIG-3820) TestAvroStorage fail on some OS
Date Wed, 19 Mar 2014 21:24:42 GMT
Daniel Dai created PIG-3820:
-------------------------------

             Summary: TestAvroStorage fail on some OS
                 Key: PIG-3820
                 URL: https://issues.apache.org/jira/browse/PIG-3820
             Project: Pig
          Issue Type: Bug
            Reporter: Daniel Dai
            Assignee: Daniel Dai
             Fix For: 0.12.1, 0.13.0
         Attachments: PIG-3820-1.patch

See test fail on SUSE11, CentOS5, CentOS6. Error message:
org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] null
	at org.xerial.snappy.SnappyLoader.load(SnappyLoader.java:223)
	at org.xerial.snappy.Snappy.<clinit>(Snappy.java:48)
	at org.apache.avro.file.SnappyCodec.compress(SnappyCodec.java:43)
	at org.apache.avro.file.DataFileStream$DataBlock.compressUsing(DataFileStream.java:349)
	at org.apache.avro.file.DataFileWriter.writeBlock(DataFileWriter.java:348)
	at org.apache.avro.file.DataFileWriter.sync(DataFileWriter.java:360)
	at org.apache.avro.file.DataFileWriter.flush(DataFileWriter.java:367)
	at org.apache.avro.file.DataFileWriter.close(DataFileWriter.java:375)
	at org.apache.avro.tool.DataFileWriteTool.run(DataFileWriteTool.java:111)
	at org.apache.pig.builtin.TestAvroStorage.generateAvroFile(TestAvroStorage.java:269)
	at org.apache.pig.builtin.TestAvroStorage.generateInputFiles(TestAvroStorage.java:223)
	at org.apache.pig.builtin.TestAvroStorage.setup(TestAvroStorage.java:127)

Seems we hit https://github.com/xerial/snappy-java/issues/17

Upgrade snappy-java version make the test failure go away.



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

Mime
View raw message