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

Christian Tzolov commented on SPARK-2614:
-----------------------------------------

Fair point [~markhamstra]. I agree about the benefits of having dedicated 
packages. Actually I've tried a patch that wraps the examples.jar in a separate 
spark-examples debian package. The code is here: 
https://github.com/tzolov/spark/tree/SPARK-2614-2 
Shall i pull a request for this implementation instead? At least until the 
proper packaging come in place. 

Regarding the proper Debian (and hopefully RPM) packaging I am afraid i have 
very little of experience with this subject to make it right. 

> Add the spark-examples-xxx-.jar to the Debian package created by 
> assembly/pom.xml (e.g. -Pdeb)
> ----------------------------------------------------------------------------------------------
>
>                 Key: SPARK-2614
>                 URL: https://issues.apache.org/jira/browse/SPARK-2614
>             Project: Spark
>          Issue Type: Improvement
>          Components: Build, Deploy
>            Reporter: Christian Tzolov
>
> The tar.gz distribution includes already the spark-examples.jar in the 
> bundle. It is a common practice for installers to run SparkPi as a smoke test 
> to verify that the installation is OK
> /usr/share/spark/bin/spark-submit \
>   --num-executors 10  --master yarn-cluster \
>   --class org.apache.spark.examples.SparkPi \
>   /usr/share/spark/jars/spark-examples-1.0.1-hadoop2.2.0.jar 10



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to