warbaque
warbaque

Reputation: 633

Prevent spark executors from accessing Mesos or ZooKeeper apis

Currently Spark on Mesos is run in cluster mode, Mesos/ZooKeeper doesn't have any access control, and executors are started on host network.

What would be the best practice for preventing spark executors from accessing mesos or zookeeper apis when running arbitary code?

Upvotes: 0

Views: 42

Answers (1)

janisz
janisz

Reputation: 6371

You should enable encryption and authentication in Mesos and Zookeeper. Then you configure ZK like this and in Mesos --zk=zk://username:password@host1:port1,host2:port2,.../path.

To enable authentication in Moses following theses instructions

Upvotes: 0

Related Questions