Skip to content

Commit

Permalink
apache#70, use map to pass properites in PostQueryExecutionForKylin.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaaaaaron committed Oct 28, 2019
1 parent 0566b51 commit 43bec81
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ package org.apache.spark.sql.execution
import java.util.concurrent.ConcurrentHashMap
import java.util.concurrent.atomic.AtomicLong

import org.apache.spark.MapOutputTrackerMaster
import org.apache.spark.SparkEnv
import org.apache.spark.internal.Logging
import org.apache.spark.sql.SparkSession
Expand Down Expand Up @@ -81,7 +80,8 @@ object SQLExecution extends Logging{
SparkPlanInfo.fromSparkPlan(queryExecution.executedPlan), System.currentTimeMillis()))

sc.listenerBus.post(PostQueryExecutionForKylin(
sc.getLocalProperty(N_EXECUTION_ID_KEY),
sc.getLocalProperties,
executionId,
queryExecution))
try {
body
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

package org.apache.spark.sql.execution.ui

import java.util.Properties

import com.fasterxml.jackson.databind.JavaType
import com.fasterxml.jackson.databind.`type`.TypeFactory
import com.fasterxml.jackson.databind.annotation.JsonDeserialize
Expand All @@ -38,7 +40,8 @@ case class SparkListenerSQLExecutionStart(

@DeveloperApi
case class PostQueryExecutionForKylin(
nExecutionId: String = "",
localProperties: Properties,
executionId: Long,
queryExecution: QueryExecution = null)
extends SparkListenerEvent {

Expand Down

0 comments on commit 43bec81

Please sign in to comment.