RE: how to build spark 1.1.0 to include org.apache.commons.math3 ?

2014-10-19 Thread Henry Hung
@Sean Owen,

Thank you for the information.

I change the pom file to include math3, because I needed the math3 library from 
my previous use with 1.0.2.

Best regards,
Henry

-Original Message-
From: Sean Owen [mailto:so...@cloudera.com]
Sent: Saturday, October 18, 2014 2:19 AM
To: MA33 YTHung1
Cc: user@spark.apache.org
Subject: Re: how to build spark 1.1.0 to include org.apache.commons.math3 ?

It doesn't contain commons math3 since Spark does not depend on it.
Its tests do, but tests are not built into the Spark assembly.

On Thu, Oct 16, 2014 at 9:57 PM, Henry Hung ythu...@winbond.com wrote:
 HI All,



 I try to build spark 1.1.0 using sbt with command:

 sbt/sbt -Dhadoop.version=2.2.0 -Pyarn assembly



 but the resulting spark-assembly-1.1.0-hadoop2.2.0.jar  still missing
 the apache commons math3 classes.



 How to add the math3 into package?



 Best regards,

 Henry


 
 The privileged confidential information contained in this email is
 intended for use only by the addressees as indicated by the original
 sender of this email. If you are not the addressee indicated in this
 email or are not responsible for delivery of the email to such a
 person, please kindly reply to the sender indicating this fact and
 delete all copies of it from your computer and network server
 immediately. Your cooperation is highly appreciated. It is advised
 that any unauthorized use of confidential information of Winbond is
 strictly prohibited; and any information in this email irrelevant to
 the official business of Winbond shall be deemed as neither given nor 
 endorsed by Winbond.

The privileged confidential information contained in this email is intended for 
use only by the addressees as indicated by the original sender of this email. 
If you are not the addressee indicated in this email or are not responsible for 
delivery of the email to such a person, please kindly reply to the sender 
indicating this fact and delete all copies of it from your computer and network 
server immediately. Your cooperation is highly appreciated. It is advised that 
any unauthorized use of confidential information of Winbond is strictly 
prohibited; and any information in this email irrelevant to the official 
business of Winbond shall be deemed as neither given nor endorsed by Winbond.


Re: how to build spark 1.1.0 to include org.apache.commons.math3 ?

2014-10-17 Thread Sean Owen
It doesn't contain commons math3 since Spark does not depend on it.
Its tests do, but tests are not built into the Spark assembly.

On Thu, Oct 16, 2014 at 9:57 PM, Henry Hung ythu...@winbond.com wrote:
 HI All,



 I try to build spark 1.1.0 using sbt with command:

 sbt/sbt -Dhadoop.version=2.2.0 -Pyarn assembly



 but the resulting spark-assembly-1.1.0-hadoop2.2.0.jar  still missing the
 apache commons math3 classes.



 How to add the math3 into package?



 Best regards,

 Henry


 
 The privileged confidential information contained in this email is intended
 for use only by the addressees as indicated by the original sender of this
 email. If you are not the addressee indicated in this email or are not
 responsible for delivery of the email to such a person, please kindly reply
 to the sender indicating this fact and delete all copies of it from your
 computer and network server immediately. Your cooperation is highly
 appreciated. It is advised that any unauthorized use of confidential
 information of Winbond is strictly prohibited; and any information in this
 email irrelevant to the official business of Winbond shall be deemed as
 neither given nor endorsed by Winbond.

-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org



how to build spark 1.1.0 to include org.apache.commons.math3 ?

2014-10-16 Thread Henry Hung
HI All,

I try to build spark 1.1.0 using sbt with command:
sbt/sbt -Dhadoop.version=2.2.0 -Pyarn assembly

but the resulting spark-assembly-1.1.0-hadoop2.2.0.jar  still missing the 
apache commons math3 classes.

How to add the math3 into package?

Best regards,
Henry


The privileged confidential information contained in this email is intended for 
use only by the addressees as indicated by the original sender of this email. 
If you are not the addressee indicated in this email or are not responsible for 
delivery of the email to such a person, please kindly reply to the sender 
indicating this fact and delete all copies of it from your computer and network 
server immediately. Your cooperation is highly appreciated. It is advised that 
any unauthorized use of confidential information of Winbond is strictly 
prohibited; and any information in this email irrelevant to the official 
business of Winbond shall be deemed as neither given nor endorsed by Winbond.