spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mingyu Kim <m...@palantir.com>
Subject Re: How to exclude a library from "sbt assembly"
Date Wed, 30 Oct 2013 22:30:01 GMT
Thanks a lot. It worked!

Mingyu


On 10/30/13, 12:10 PM, "Matei Zaharia" <matei.zaharia@gmail.com> wrote:

>Looking at 
>https://urldefense.proofpoint.com/v1/url?u=https://github.com/sbt/sbt-asse
>mbly&k=fDZpZZQMmYwf27OU23GmAQ%3D%3D%0A&r=UKDOcu6qL3KsoZhpOohNBR1ucPNmWnbd3
>eEJ9hVUdMk%3D%0A&m=ZTFNyaCyeYcrRQk9a5LSvYYYKFjWEAvdrxCsh2naFOM%3D%0A&s=552
>138bf1348ecb763f024a55626cf819d5ec00d095653404702683468f589ad, it seems
>you can add the following into extraAssemblySettings:
>
>assemblyOption in assembly ~= { _.copy(includeScala = false) }
>
>Matei
>
>On Oct 30, 2013, at 9:58 AM, Mingyu Kim <mkim@palantir.com> wrote:
>
>> Hi,
>> 
>> In order to work around the library dependency problem, I¹d like to
>>build the spark jar such that it doesn¹t contain certain libraries. I
>>will import the libraries separately and have them available at runtime.
>>More specifically, I¹d like to remove scala-2.9.3 out of the spark jar
>>built by ³sbt/sbt assembly². Does anyone know a way to modify spark¹s
>>sbt setting to do that by any chance? Thanks!
>> 
>> Mingyu
>

Mime
View raw message