Making a simple Java application that can connect and query my cluster using Spark SQL, earlier did it using Impala/hive but using Spark sql for the first time. Declared spa