spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RJ Nowling (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SPARK-4816) Maven profile netlib-lgpl does not work
Date Mon, 14 Dec 2015 15:58:47 GMT

    [ https://issues.apache.org/jira/browse/SPARK-4816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15056168#comment-15056168
] 

RJ Nowling edited comment on SPARK-4816 at 12/14/15 3:58 PM:
-------------------------------------------------------------

I think [SPARK-9507] fixed the issue. I checked out git commit {{5ad9f950c4bd0042d79cdccb5277c10f8412be85}}
(the commit before [https://github.com/apache/spark/commit/b53ca247d4a965002a9f31758ea2b28fe117d45f])
and found that the {{netlib-native}} libraries were missing:

{code}
$ git checkout 5ad9f950c4bd0042d79cdccb5277c10f8412be85
$ mvn -Pnetlib-lgpl -Phadoop-2.4 -Dhadoop.version=2.4.0 -DskipTests clean package
$ zipinfo -1 assembly/target/scala-2.10/spark-assembly-1.4.2-SNAPSHOT-hadoop2.4.0.jar | grep
netlib-native

(No output)
{code}

As such, the changes in [SPARK-8819] might have been the original cause.


was (Author: rnowling):
I think issue [SPARK-9507] fixed the issue. I checked out git commit 5ad9f950c4bd0042d79cdccb5277c10f8412be85
(the commit before [https://github.com/apache/spark/commit/b53ca247d4a965002a9f31758ea2b28fe117d45f])
and found that the {{netlib-native}} libraries were missing:

{code}
$ git checkout 5ad9f950c4bd0042d79cdccb5277c10f8412be85
$ mvn -Pnetlib-lgpl -Phadoop-2.4 -Dhadoop.version=2.4.0 -DskipTests clean package
$ zipinfo -1 assembly/target/scala-2.10/spark-assembly-1.4.2-SNAPSHOT-hadoop2.4.0.jar | grep
netlib-native

(No output)
{code}

As such, the changes in [SPARK-8819] might have been the original cause.

> Maven profile netlib-lgpl does not work
> ---------------------------------------
>
>                 Key: SPARK-4816
>                 URL: https://issues.apache.org/jira/browse/SPARK-4816
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.1.0
>         Environment: maven 3.0.5 / Ubuntu
>            Reporter: Guillaume Pitel
>            Priority: Minor
>             Fix For: 1.1.1
>
>
> When doing what the documentation recommends to recompile Spark with Netlib Native system
binding (i.e. to bind with openblas or, in my case, MKL), 
> mvn -Pnetlib-lgpl -Pyarn -Phadoop-2.3 -Dhadoop.version=2.3.0 -DskipTests clean package
> The resulting assembly jar still lacked the netlib-system class. (I checked the content
of spark-assembly...jar)
> When forcing the netlib-lgpl profile in MLLib package to be active, the jar is correctly
built.
> So I guess it's a problem with the way maven passes profiles activitations to children
modules.
> Also, despite the documentation claiming that if the job's jar contains netlib with necessary
bindings, it should works, it does not. The classloader must be unhappy with two occurrences
of netlib ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message