@rickyChen
2017-12-20T15:26:13.000000Z
字数 844
阅读 2691
Spark
rpm -Uvh http://repos.mesosphere.io/el/7/noarch/RPMS/mesosphere-el-repo-7-1.noarch.rpm
yum install mesos
安装指定版本Mesos
wget http://repos.mesosphere.com/el/7/x86_64/RPMS/mesos-0.28.2-2.0.27.centos701406.x86_64.rpm
rpm -ivh mesos-0.28.2-2.0.27.centos701406.x86_64.rpm
/etc/mesos/zk
zk://zookeeper1001.com.cn:2181/mesos
/etc/mesos-master/hostname
/etc/mesos-master/quorum
2
/etc/mesos-master/zk_session_timeout
60secs
除以下配置,目录下最好不要有其他文件
/etc/mesos-slave/executor_registration_timeout
5mins
/etc/mesos-slave/work_dir
/data0/mesos/slave
/etc/mesos-slave/hostname
spark-env.sh
MESOS_NATIVE_JAVA_LIBRARY=/usr/local/lib/libmesos.so
spark-defaults.conf
spark.master mesos://ip:5050
spark.executor.url http://hostname/packages/spark/spark-1.4.1-bin-hadoop2.4.tgz