Yesha Vora created AMBARI-17579:
-----------------------------------
Summary: fix spark.driver.extraLibraryPath to include native gpl
library
Key: AMBARI-17579
URL: https://issues.apache.org/jira/browse/AMBARI-17579
Project: Ambari
Issue Type: Bug
Components: ambari-server
Affects Versions: 2.4.0
Reporter: Yesha Vora
spark-shell command prints "Could not load native gpl library" error.
{code}
16/07/05 12:07:06 WARN DomainSocketFactory: The short-circuit local reads
feature cannot be used because libhadoop cannot be loaded.
16/07/05 12:07:06 ERROR GPLNativeCodeLoader: Could not load native gpl library
java.lang.UnsatisfiedLinkError: no gplcompression in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1889)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at
com.hadoop.compression.lzo.GPLNativeCodeLoader.<clinit>(GPLNativeCodeLoader.java:32)
at com.hadoop.compression.lzo.LzoCodec.<clinit>(LzoCodec.java:71)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:278)
at
org.apache.hadoop.conf.Configuration.getClassByNameOrNull(Configuration.java:2147)
at
org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2112){code}
We might need to add directory of libgplcompression in
spark.driver.extraLibraryPath.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)