My Oracle Support Banner

Pig Queries from the HUE UI Fail with "ERROR com.hadoop.compression.lzo.GPLNativeCodeLoader" on BDA 3.0.* (Doc ID 1910502.1)

Last updated on NOVEMBER 12, 2019

Applies to:

Big Data Appliance Integrated Software - Version 3.0 and later


1. Running a pig query in the Hue UI, on a Client/Edge server, or on a BDA server on BDA 3.0.* raises an error about lzo compression, like:

2014-07-11 14:12:53,913 [JobControl] ERROR com.hadoop.compression.lzo.GPLNativeCodeLoader -
Could not load native gpl library
java.lang.UnsatisfiedLinkError: /usr/lib/hadoop/lib/native/
/usr/lib/hadoop/lib/native/ wrong ELF class:
 ELFCLASS64 (Possible cause: architecture word width mismatch)
       at java.lang.ClassLoader$NativeLibrary.load(Native Method)
       at java.lang.ClassLoader.loadLibrary1(
       at java.lang.ClassLoader.loadLibrary0(
       at java.lang.ClassLoader.loadLibrary(
       at java.lang.Runtime.loadLibrary0(
       at java.lang.System.loadLibrary(
       at com.hadoop.compression.lzo.GPLNativeCodeLoader.<clinit>(
       at com.hadoop.compression.lzo.LzoCodec.<clinit>(
       at java.lang.Class.forName0(Native Method)
       at java.lang.Class.forName(
       at org.apache.hadoop.conf.Configuration.getClassByNameOrNull(
       at org.apache.hadoop.conf.Configuration.getClassByName(

2. Checking in Cloudera Manager (CM) shows the proper HDFS configuration with regards to compression codecs.

In Cloudera Manager:  hdfs > Configuration > View and Edit > Service-Wide > Compression Codecs  shows the following added correctly:



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.