Skip to content

Commit c2c7d67

Browse files
committed
save
1 parent 4ba63b1 commit c2c7d67

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,13 @@ private[spark] object HiveUtils extends Logging {
394394
// hive.metastore.uris is not set.
395395
propMap.put(ConfVars.METASTOREURIS.varname, "")
396396

397+
// The execution client will generate garbage events, therefore the listeners that are generated
398+
// for the execution clients are useless. In order to not output garbage, we don't generate
399+
// these listeners.
400+
propMap.put(ConfVars.METASTORE_PRE_EVENT_LISTENERS.varname, "")
401+
propMap.put(ConfVars.METASTORE_EVENT_LISTENERS.varname, "")
402+
propMap.put(ConfVars.METASTORE_END_FUNCTION_LISTENERS.varname, "")
403+
397404
propMap.toMap
398405
}
399406

0 commit comments

Comments
 (0)