spark-sql --master yarn --num-executors 4 --executor-memory 4G --executor-cores 2 --driver-memory 5G --conf spark.kryoserializer.buffer.max=512m -f /usr/local/test.sql