spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From emiretsk <>
Subject How are threads created in SQL Executor?
Date Fri, 01 Jul 2016 15:42:32 GMT
It seems like threads are created by SQLExecution.withExecutionId, which is
called inside BroadcastExchangeExec.scala. 
When does the plan executor execute a BroadcaseExchange, and is there a way
to control the number of threads? We have a job that writes DataFrames to an
external DB, and it seems like each task creates as many threads as there
are cores. 

View this message in context:
Sent from the Apache Spark User List mailing list archive at

To unsubscribe e-mail:

View raw message