You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Konstantin Boudnik (JIRA)" <ji...@apache.org> on 2015/09/26 09:12:04 UTC

[jira] [Comment Edited] (BIGTOP-2074) spark-worker doesn't start during deploy from master

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

Konstantin Boudnik edited comment on BIGTOP-2074 at 9/26/15 7:11 AM:
---------------------------------------------------------------------

The problem is caused by the absence of the setting of {{STANDALONE_SPARK_MASTER_HOST}} in the {{spark-env.sh}} The variable has to be present for standalone deployment. Hint: not everyone cares to use YARN, really ;)

Looking more into the generated env file, I see the {{SPARK_MASTER_IP}} is set to the port number instead of the hostname. Looks like there's a deeper issue with puppet template or something?


was (Author: cos):
The problem is caused by the absence of the setting of {{STANDALONE_SPARK_MASTER_HOST}} in the {{spark-env.sh}} The variable has to be present for standalone deployment. Hint: not everyone cares to use YARN, really ;)

> spark-worker doesn't start during deploy from master
> ----------------------------------------------------
>
>                 Key: BIGTOP-2074
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-2074
>             Project: Bigtop
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 1.0.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>             Fix For: 1.1.0
>
>
> spark-worker refuses to start automatically after {{puppet apply}}. The error message is as follows
> {noformat}
> 15/09/26 07:05:54 INFO Remoting: Remoting started; listening on addresses :[akka.tcp://sparkWorker@ignite.docker:7078]
> 15/09/26 07:05:54 INFO Remoting: Remoting now listens on addresses: [akka.tcp://sparkWorker@ignite.docker:7078]
> 15/09/26 07:05:54 INFO util.Utils: Successfully started service 'sparkWorker' on port 7078.
> Exception in thread "main" org.apache.spark.SparkException: Invalid master URL: spark://:7077
>         at org.apache.spark.util.Utils$.extractHostPortFromSparkUrl(Utils.scala:1986)
>         at org.apache.spark.deploy.master.Master$.toAkkaUrl(Master.scala:879)
> {noformat}



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