You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Weiqing Yang (JIRA)" <ji...@apache.org> on 2016/07/06 23:14:11 UTC
[jira] [Assigned] (AMBARI-17579) fix spark.driver.extraLibraryPath
to include native gpl library
[ https://issues.apache.org/jira/browse/AMBARI-17579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Weiqing Yang reassigned AMBARI-17579:
-------------------------------------
Assignee: Weiqing Yang
> 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
> Assignee: Weiqing Yang
> Fix For: 2.4.0
>
>
> 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)