Github user dhatchayani commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2085#discussion_r176013572
--- Diff:
examples/spark2/src/main/scala/org/apache/carbondata/examples/ExampleUtils.scala
---
@@ -56,6 +56,7 @@ object ExampleUtils {
.master(masterUrl)
.appName(appName)
.config("spark.sql.warehouse.dir", warehouse)
+
.config(CarbonCommonConstants.CARBON_COMMON_LISTENER_REGISTER_CLASSNAME, "")
--- End diff --
instead of adding it to all the example classes add a try catch in
org.apache.spark.sql.CarbonEnv#registerCommonListener to get the clsName
if exception thrown, make it as null or empty
---