You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by Tom Graves <tg...@yahoo.com.INVALID> on 2020/01/08 18:15:16 UTC
Reviewers for Stage level Scheduling prs
Hey everyone,
I'm trying to get reviewers for the Stage Level Scheduling pull requests. I was hoping to get this into Spark 3.0.The code is mostly complete - its just missing the webUI and final doc changes.
If anyone has time, reviews from committers would be appreciated.
You can find information about the overall feature and design here:[SPARK-27495] SPIP: Support Stage level resource configuration and scheduling - ASF JIRA it has Stage Level Scheduling SPIP Appendices API/Designattached with a high level overview.
I have a reference pr with most of the code implemented: [WIP][SPARK-27495][Core][YARN][k8s] Stage Level Scheduling code for reference by tgravescs · Pull Request #27053 · apache/spark
and I've been trying to break that into smaller pieces for easier review - this is the current one: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with by tgravescs · Pull Request #26682 · apache/spark
Regards,Tom Graves
Re: How executor Understand which RDDs needed to be persist from the
submitted Task
Posted by Jack Kolokasis <ko...@ics.forth.gr>.
Thanks for your help!
Iacovos
On 1/9/20 5:49 PM, Wenchen Fan wrote:
> You can take a look at ShuffleMapTask.runTask. It's not just a function.
>
> On Thu, Jan 9, 2020 at 11:25 PM Jack Kolokasis <kolokasis@ics.forth.gr
> <ma...@ics.forth.gr>> wrote:
>
> Thanks for the help. I read that driver only send a function
> (task) to executors and the executors apply this function to their
> local RDD partitions.
>
> Iacovos
>
> On 1/9/20 5:03 PM, Wenchen Fan wrote:
>> RDD has a flag `storageLevel` which will be set by calling
>> persist(). RDD will be serialized and sent to executors for
>> running tasks. So executors just look at RDD.storageLevel and
>> store output in its block manager when needed.
>>
>> On Thu, Jan 9, 2020 at 5:53 PM Jack Kolokasis
>> <kolokasis@ics.forth.gr <ma...@ics.forth.gr>> wrote:
>>
>> Hello all,
>>
>> I want to find when a Task that is sended by Driver to
>> executor contains
>> a call to function persist(). I am trying to read the
>> submitted function
>> that driver send to executor but I could not find any call to
>> persist()
>> method. Do you know how executor understand which RDDs needed
>> to be persist?
>>
>> Thanks,
>> Iacovos Kolokasis
>>
>> ---------------------------------------------------------------------
>> To unsubscribe e-mail: dev-unsubscribe@spark.apache.org
>> <ma...@spark.apache.org>
>>
Re: How executor Understand which RDDs needed to be persist from the
submitted Task
Posted by Wenchen Fan <cl...@gmail.com>.
You can take a look at ShuffleMapTask.runTask. It's not just a function.
On Thu, Jan 9, 2020 at 11:25 PM Jack Kolokasis <ko...@ics.forth.gr>
wrote:
> Thanks for the help. I read that driver only send a function (task) to
> executors and the executors apply this function to their local RDD
> partitions.
>
> Iacovos
> On 1/9/20 5:03 PM, Wenchen Fan wrote:
>
> RDD has a flag `storageLevel` which will be set by calling persist(). RDD
> will be serialized and sent to executors for running tasks. So executors
> just look at RDD.storageLevel and store output in its block manager when
> needed.
>
> On Thu, Jan 9, 2020 at 5:53 PM Jack Kolokasis <ko...@ics.forth.gr>
> wrote:
>
>> Hello all,
>>
>> I want to find when a Task that is sended by Driver to executor contains
>> a call to function persist(). I am trying to read the submitted function
>> that driver send to executor but I could not find any call to persist()
>> method. Do you know how executor understand which RDDs needed to be
>> persist?
>>
>> Thanks,
>> Iacovos Kolokasis
>>
>> ---------------------------------------------------------------------
>> To unsubscribe e-mail: dev-unsubscribe@spark.apache.org
>>
>>
Re: How executor Understand which RDDs needed to be persist from the
submitted Task
Posted by Jack Kolokasis <ko...@ics.forth.gr>.
Thanks for the help. I read that driver only send a function (task) to
executors and the executors apply this function to their local RDD
partitions.
Iacovos
On 1/9/20 5:03 PM, Wenchen Fan wrote:
> RDD has a flag `storageLevel` which will be set by calling persist().
> RDD will be serialized and sent to executors for running tasks. So
> executors just look at RDD.storageLevel and store output in its block
> manager when needed.
>
> On Thu, Jan 9, 2020 at 5:53 PM Jack Kolokasis <kolokasis@ics.forth.gr
> <ma...@ics.forth.gr>> wrote:
>
> Hello all,
>
> I want to find when a Task that is sended by Driver to executor
> contains
> a call to function persist(). I am trying to read the submitted
> function
> that driver send to executor but I could not find any call to
> persist()
> method. Do you know how executor understand which RDDs needed to
> be persist?
>
> Thanks,
> Iacovos Kolokasis
>
> ---------------------------------------------------------------------
> To unsubscribe e-mail: dev-unsubscribe@spark.apache.org
> <ma...@spark.apache.org>
>
Re: How executor Understand which RDDs needed to be persist from the
submitted Task
Posted by Wenchen Fan <cl...@gmail.com>.
RDD has a flag `storageLevel` which will be set by calling persist(). RDD
will be serialized and sent to executors for running tasks. So executors
just look at RDD.storageLevel and store output in its block manager when
needed.
On Thu, Jan 9, 2020 at 5:53 PM Jack Kolokasis <ko...@ics.forth.gr>
wrote:
> Hello all,
>
> I want to find when a Task that is sended by Driver to executor contains
> a call to function persist(). I am trying to read the submitted function
> that driver send to executor but I could not find any call to persist()
> method. Do you know how executor understand which RDDs needed to be
> persist?
>
> Thanks,
> Iacovos Kolokasis
>
> ---------------------------------------------------------------------
> To unsubscribe e-mail: dev-unsubscribe@spark.apache.org
>
>
How executor Understand which RDDs needed to be persist from the
submitted Task
Posted by Jack Kolokasis <ko...@ics.forth.gr>.
Hello all,
I want to find when a Task that is sended by Driver to executor contains
a call to function persist(). I am trying to read the submitted function
that driver send to executor but I could not find any call to persist()
method. Do you know how executor understand which RDDs needed to be persist?
Thanks,
Iacovos Kolokasis
---------------------------------------------------------------------
To unsubscribe e-mail: dev-unsubscribe@spark.apache.org