GitHub user tomer-ben-david opened a pull request:

    https://github.com/apache/spark/pull/6708

    Fix SparkException: A master URL must be set in your configuration

    Fix: Exception in thread "main" org.apache.spark.SparkException: A master 
URL must be set in your configuration
    
    see also other users same problem: 
http://stackoverflow.com/a/29177825/345859
    
    Exception in thread "main" org.apache.spark.SparkException: A master URL 
must be set in your configuration
        at org.apache.spark.SparkContext.<init>(SparkContext.scala:206)
        at Example$.delayedEndpoint$Example$1(Example.scala:14)
        at Example$delayedInit$body.apply(Example.scala:10)
        at scala.Function0$class.apply$mcV$sp(Function0.scala:40)
        at 
scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
        at scala.App$$anonfun$main$1.apply(App.scala:76)
        at scala.App$$anonfun$main$1.apply(App.scala:76)
        at scala.collection.immutable.List.foreach(List.scala:381)
        at 
scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
        at scala.App$class.main(App.scala:76)
        at Example$.main(Example.scala:10)
        at Example.main(Example.scala)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tomer-ben-david-forked/spark master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/6708.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #6708
    
----
commit 020bd33175b830a7f52a38f42d995cd3c2f22a20
Author: Tomer Ben David <[email protected]>
Date:   2015-06-08T19:05:43Z

    Fix SparkException: A master URL must be set in your configuration
    
    Fix: Exception in thread "main" org.apache.spark.SparkException: A master 
URL must be set in your configuration
    
    see also other users same problem: 
http://stackoverflow.com/a/29177825/345859
    
    Exception in thread "main" org.apache.spark.SparkException: A master URL 
must be set in your configuration
        at org.apache.spark.SparkContext.<init>(SparkContext.scala:206)
        at Example$.delayedEndpoint$Example$1(Example.scala:14)
        at Example$delayedInit$body.apply(Example.scala:10)
        at scala.Function0$class.apply$mcV$sp(Function0.scala:40)
        at 
scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
        at scala.App$$anonfun$main$1.apply(App.scala:76)
        at scala.App$$anonfun$main$1.apply(App.scala:76)
        at scala.collection.immutable.List.foreach(List.scala:381)
        at 
scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
        at scala.App$class.main(App.scala:76)
        at Example$.main(Example.scala:10)
        at Example.main(Example.scala)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)

commit 38be53d195d38de17053b66f00d16f90c5c4c26d
Author: Tomer Ben David <[email protected]>
Date:   2015-06-08T19:07:28Z

    Merge pull request #1 from tomer-ben-david-forked/tomer-ben-david-patch-1
    
    Fix SparkException: A master URL must be set in your configuration

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to