HIVE-7746: Cleanup SparkClient and make refreshLocalResources method synchronized.
HIVE-7606: Design SparkSession and SparkSessionManager.