mesosphere

How to pre-package external libraries when using Spark on a Mesos cluster

三世轮回 提交于 2019-11-28 11:13:38
According to the Spark on Mesos docs one needs to set the spark.executor.uri pointing to a Spark distribution: val conf = new SparkConf() .setMaster("mesos://HOST:5050") .setAppName("My app") .set("spark.executor.uri", "<path to spark-1.4.1.tar.gz uploaded above>") The docs also note that one can build a custom version of the Spark distribution. My question now is whether it is possible/desirable to pre-package external libraries such as spark-streaming-kafka elasticsearch-spark spark-csv which will be used in mostly all of the job-jars I'll submit via spark-submit to reduce the time sbt

Apache Spark on Mesos: Initial job has not accepted any resources

泄露秘密 提交于 2019-11-27 15:21:25
I am running Apache Spark on cluster mode using Apache Mesos. But, when I start Spark-Shell to run a simple test command (sc.parallelize(0 to 10, 8).count) I receive the following warning message: 16/03/10 11:50:55 WARN TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources If I check on Mesos WebUI I can see that Spark-Shell is listed as a framework and I have listed one slave (my own machine). Any help how to troubleshoot it? While most of other answers focuses on resource allocation (cores,

What's the difference between Apache's Mesos and Google's Kubernetes

时光怂恿深爱的人放手 提交于 2019-11-27 09:55:35
What exactly is the difference between Apache's Mesos and Google's Kubernetes? I understand both are server cluster management software. Can anyone elaborate where the main differences are - when would which framework be preferred? Why would you want to use Kubernetes on top of Mesosphere ? Craig Mcluckie Kubernetes is an open source project that brings 'Google style' cluster management capabilities to the world of virtual machines, or 'on the metal' scenarios. It works very well with modern operating system environments (like CoreOS or Red Hat Atomic) that offer up lightweight computing

What's the difference between Apache's Mesos and Google's Kubernetes

坚强是说给别人听的谎言 提交于 2019-11-26 17:53:03
问题 What exactly is the difference between Apache's Mesos and Google's Kubernetes? I understand both are server cluster management software. Can anyone elaborate where the main differences are - when would which framework be preferred? Why would you want to use Kubernetes on top of Mesosphere? 回答1: Kubernetes is an open source project that brings 'Google style' cluster management capabilities to the world of virtual machines, or 'on the metal' scenarios. It works very well with modern operating

Apache Spark on Mesos: Initial job has not accepted any resources

≯℡__Kan透↙ 提交于 2019-11-26 17:07:40
问题 I am running Apache Spark on cluster mode using Apache Mesos. But, when I start Spark-Shell to run a simple test command (sc.parallelize(0 to 10, 8).count) I receive the following warning message: 16/03/10 11:50:55 WARN TaskSchedulerImpl: Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources If I check on Mesos WebUI I can see that Spark-Shell is listed as a framework and I have listed one slave (my own machine).