Wolf
Wolf

Reputation: 3209

Apache Spark on client

I was wondering if it makes sense to install spark just on the client side without any clusters. A client device can be a laptop/desktop/mobile device. Can we put spark on one of these devices and leverage the libraries of spark.

Upvotes: 0

Views: 159

Answers (1)

Chris
Chris

Reputation: 507

Spark runs great on a single (client) machine.

$spark-shell --master local[*]

or

$spark-submit --master local[*] --class "MyApp" MyApp.jar

Upvotes: 1

Related Questions