Reputation: 803
I'm getting a stack trace when trying to run a pig job involving joining the contents of a snappy compressed avro file.
org.apache.hadoop.mapred.YarnChild: Error running child : java.lang.UnsatisfiedLinkError org.xerial.snappy.SnappyNative.uncompressedLength
The weird thing is that running the code line by line in grunt works fine, and I can even store the contents of the avro file into something else just fine.
This issue seems to be relevent, but it refers to Spark and not pig
Upvotes: 0
Views: 270
Reputation: 204
I faced the same issue, and solved it by replacing snappy-java-xxx.jar under $PIG_HOME/lib with the latest version downloaded from Maven
Upvotes: 2