spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyukjin Kwon (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-29340) Spark Sql executions do not use thread local jobgroup
Date Fri, 04 Oct 2019 08:24:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-29340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16944314#comment-16944314
] 

Hyukjin Kwon commented on SPARK-29340:
--------------------------------------

[~navdeepniku], is it possible to show the full reproducer? 

> Spark Sql executions do not use thread local jobgroup
> -----------------------------------------------------
>
>                 Key: SPARK-29340
>                 URL: https://issues.apache.org/jira/browse/SPARK-29340
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.4.4
>            Reporter: Navdeep Poonia
>            Priority: Major
>
> val sparkThreadLocal: SparkSession = DataCurator.spark.newSession()
> sparkThreadLocal.sparkContext.setJobGroup("<id>", "<description>")
> OR
> sparkThreadLocal.sparkContext.setLocalProperty("spark.job.description", "<id>")
> sparkThreadLocal.sparkContext.setLocalProperty("spark.jobGroup.id", "<description>")
>  
> The jobgroup property works fine for spark jobs/stages created by spark dataframe operations
but in case of sparksql the jobgroup is randomly assigned to stages or is null sometimes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message