You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2016/07/10 23:56:11 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15370006#comment-15370006 ] 

Sumit Mohanty commented on AMBARI-17579:
----------------------------------------

[~Weiqing Yang] can you attach the patch to the JIRA as well - _I will attach it for this one._. Thanks.

> 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: trunk, 2.4.0
>
>         Attachments: AMBARI-17579_v0.patch
>
>
> 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)