https://userapps.support.sap.com/sap/support/knowledge/en/2568611
2568611 - How to improve load time of the Spark SQL Shell using the alti-spark-sql convenience...
You are using the alti-spark-sql convience script located at /opt/spark-beta/bin to load the Spark SQL Shell and want to improve the load time.