You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by j_soft <zs...@gmail.com> on 2015/01/04 04:11:22 UTC

Re: building spark1.2 meet error

   - thanks, it is success builded
   - .but where is builded zip file? I not find finished .zip or .tar.gz
   package


2014-12-31 19:22 GMT+08:00 xhudik [via Apache Spark User List] <
ml-node+s1001560n20927h58@n3.nabble.com>:

> Hi J_soft,
>
> for me it is working, I didn't put -Dscala-2.10 -X parameters. I got only
> one warning, since I don't have hadoop 2.5 it didn't activate this profile:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *larix@kovral:~/sources/spark-1.2.0> mvn -Pyarn -Phadoop-2.5
> -Dhadoop.version=2.5.0 -DskipTests clean package .... .... Found 0 infos
> Finished in 3 ms [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary: [INFO] [INFO] Spark Project Parent POM
> ........................... SUCCESS [ 14.177 s] [INFO] Spark Project
> Networking ........................... SUCCESS [ 14.670 s] [INFO] Spark
> Project Shuffle Streaming Service ............ SUCCESS [  9.030 s] [INFO]
> Spark Project Core ................................. SUCCESS [04:42 min]
> [INFO] Spark Project Bagel ................................ SUCCESS [
> 26.184 s] [INFO] Spark Project GraphX ...............................
> SUCCESS [01:07 min] [INFO] Spark Project Streaming
> ............................ SUCCESS [01:35 min] [INFO] Spark Project
> Catalyst ............................. SUCCESS [01:48 min] [INFO] Spark
> Project SQL .................................. SUCCESS [01:55 min] [INFO]
> Spark Project ML Library ........................... SUCCESS [02:17 min]
> [INFO] Spark Project Tools ................................ SUCCESS [
> 15.527 s] [INFO] Spark Project Hive .................................
> SUCCESS [01:43 min] [INFO] Spark Project REPL
> ................................. SUCCESS [ 45.154 s] [INFO] Spark Project
> YARN Parent POM ...................... SUCCESS [  3.885 s] [INFO] Spark
> Project YARN Stable API ...................... SUCCESS [01:00 min] [INFO]
> Spark Project Assembly ............................. SUCCESS [ 50.812 s]
> [INFO] Spark Project External Twitter ..................... SUCCESS [
> 21.401 s] [INFO] Spark Project External Flume Sink ..................
> SUCCESS [ 25.207 s] [INFO] Spark Project External Flume
> ....................... SUCCESS [ 34.734 s] [INFO] Spark Project External
> MQTT ........................ SUCCESS [ 22.617 s] [INFO] Spark Project
> External ZeroMQ ...................... SUCCESS [ 22.444 s] [INFO] Spark
> Project External Kafka ....................... SUCCESS [ 33.566 s] [INFO]
> Spark Project Examples ............................. SUCCESS [01:23 min]
> [INFO] Spark Project YARN Shuffle Service ................. SUCCESS [
>  4.873 s] [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 23:20 min [INFO] Finished at: 2014-12-31T12:02:32+01:00
> [INFO] Final Memory: 76M/855M [INFO]
> ------------------------------------------------------------------------
> [WARNING] The requested profile "hadoop-2.5" could not be activated because
> it does not exist.*
>
>
> If it won't work for you. I'd try to delete all sources, download source
> code once more and try again ...
>
> good luck, Tomas
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-spark-user-list.1001560.n3.nabble.com/building-spark1-2-meet-error-tp20853p20927.html
>  To unsubscribe from building spark1.2 meet error, click here
> <http://apache-spark-user-list.1001560.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=20853&code=enNvZnRlckBnbWFpbC5jb218MjA4NTN8LTI5MTk2NDAzOA==>
> .
> NAML
> <http://apache-spark-user-list.1001560.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/building-spark1-2-meet-error-tp20853p20958.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

Re: building spark1.2 meet error

Posted by xhudik <xh...@gmail.com>.
Hi J_soft

mvn do not provide tar packages by default. You got many jar files - each
project has its own jar (e.g. mllib has
mllib/target/spark-mllib_2.10-1.2.0.jar). 
However, if you want one big tar package with all dependencies - look here:
https://github.com/apache/spark/tree/master/assembly
And add /-Pbigtop-dist/ parameter to your mvn command



--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/building-spark1-2-meet-error-tp20853p20960.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

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


Re: building spark1.2 meet error

Posted by Boromir Widas <vc...@gmail.com>.
it should be under
> ls assembly/target/scala-2.10/*

On Sat, Jan 3, 2015 at 10:11 PM, j_soft <zs...@gmail.com> wrote:

>
>    - thanks, it is success builded
>    - .but where is builded zip file? I not find finished .zip or .tar.gz
>    package
>
>
> 2014-12-31 19:22 GMT+08:00 xhudik [via Apache Spark User List] <[hidden
> email] <http:///user/SendEmail.jtp?type=node&node=20958&i=0>>:
>
>> Hi J_soft,
>>
>> for me it is working, I didn't put -Dscala-2.10 -X parameters. I got only
>> one warning, since I don't have hadoop 2.5 it didn't activate this profile:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *larix@kovral:~/sources/spark-1.2.0> mvn -Pyarn -Phadoop-2.5
>> -Dhadoop.version=2.5.0 -DskipTests clean package .... .... Found 0 infos
>> Finished in 3 ms [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary: [INFO] [INFO] Spark Project Parent POM
>> ........................... SUCCESS [ 14.177 s] [INFO] Spark Project
>> Networking ........................... SUCCESS [ 14.670 s] [INFO] Spark
>> Project Shuffle Streaming Service ............ SUCCESS [  9.030 s] [INFO]
>> Spark Project Core ................................. SUCCESS [04:42 min]
>> [INFO] Spark Project Bagel ................................ SUCCESS [
>> 26.184 s] [INFO] Spark Project GraphX ...............................
>> SUCCESS [01:07 min] [INFO] Spark Project Streaming
>> ............................ SUCCESS [01:35 min] [INFO] Spark Project
>> Catalyst ............................. SUCCESS [01:48 min] [INFO] Spark
>> Project SQL .................................. SUCCESS [01:55 min] [INFO]
>> Spark Project ML Library ........................... SUCCESS [02:17 min]
>> [INFO] Spark Project Tools ................................ SUCCESS [
>> 15.527 s] [INFO] Spark Project Hive .................................
>> SUCCESS [01:43 min] [INFO] Spark Project REPL
>> ................................. SUCCESS [ 45.154 s] [INFO] Spark Project
>> YARN Parent POM ...................... SUCCESS [  3.885 s] [INFO] Spark
>> Project YARN Stable API ...................... SUCCESS [01:00 min] [INFO]
>> Spark Project Assembly ............................. SUCCESS [ 50.812 s]
>> [INFO] Spark Project External Twitter ..................... SUCCESS [
>> 21.401 s] [INFO] Spark Project External Flume Sink ..................
>> SUCCESS [ 25.207 s] [INFO] Spark Project External Flume
>> ....................... SUCCESS [ 34.734 s] [INFO] Spark Project External
>> MQTT ........................ SUCCESS [ 22.617 s] [INFO] Spark Project
>> External ZeroMQ ...................... SUCCESS [ 22.444 s] [INFO] Spark
>> Project External Kafka ....................... SUCCESS [ 33.566 s] [INFO]
>> Spark Project Examples ............................. SUCCESS [01:23 min]
>> [INFO] Spark Project YARN Shuffle Service ................. SUCCESS [
>>  4.873 s] [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESS [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 23:20 min [INFO] Finished at: 2014-12-31T12:02:32+01:00
>> [INFO] Final Memory: 76M/855M [INFO]
>> ------------------------------------------------------------------------
>> [WARNING] The requested profile "hadoop-2.5" could not be activated because
>> it does not exist.*
>>
>>
>> If it won't work for you. I'd try to delete all sources, download source
>> code once more and try again ...
>>
>> good luck, Tomas
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://apache-spark-user-list.1001560.n3.nabble.com/building-spark1-2-meet-error-tp20853p20927.html
>>  To unsubscribe from building spark1.2 meet error, click here.
>> NAML
>> <http://apache-spark-user-list.1001560.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> ------------------------------
> View this message in context: Re: building spark1.2 meet error
> <http://apache-spark-user-list.1001560.n3.nabble.com/building-spark1-2-meet-error-tp20853p20958.html>
>
> Sent from the Apache Spark User List mailing list archive
> <http://apache-spark-user-list.1001560.n3.nabble.com/> at Nabble.com.
>