I have researched on google but did not found the solution, hence posting it here.
val a_spark: SparkSession = SparkUtils.getSparkInstance("abc") f