Fixed minor issues in spark-sql and start-thriftserver.sh