"WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform" Seen on Oracle Big Data Appliance (BDA)/Exadata CDH Client (Doc ID 1965896.1)

Last updated on FEBRUARY 02, 2015

Applies to:

Big Data Appliance Integrated Software - Version 4.0 and later
Linux x86-64

Symptoms

On Oracle Big Data Appliance (BDA)/Exadata CDH Client Integration, the Exadata is running OL5 and the BDA is on OL6, the CDH client has been installed using the tarball from Cloudera. This works, but getting a warning about native hadoop libs not being loaded when commands are run.

$ hadoop fs -ls /user/oracle/testdir
15/01/15 09:39:09 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Found 1 items
-rw-r--r--   3 oracle hadoop  650801199 2015-01-14 16:13 /user/oracle/testdir/<file name>.xml.gz

What is the preferred way to point to the correct libs for envvars?

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms