i have a cluster on AWS with 2 slaves and 1 master. All instances are of type m1.large. I\'m running spark version 1.4. I\'m benchmarking the performance of spark over 4m data c
default.parallelism
--num-executor-cores 8
df.registerTempTable('test') d=sqlContext.sql("""...
to
df.registerTempTable('test') sqlContext.cacheTable("test") d=sqlContext.sql("""...