[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-16 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-575428301
 
 
   test this please


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-16 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-575340884
 
 
   test this please


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-16 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-575236993
 
 
   test this please


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-15 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-574886877
 
 
   @kiszk @viirya are you ok with this PR then?  If so I'd like to merge to get 
the next part up.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-14 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-574401655
 
 
   @kiszk let me know if you are ok with my response, I'll be happy to explain 
in more detail


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-14 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-574280607
 
 
   @kiszk  thanks for the review, I think I've addressed your comments, let me 
know if there is anything else


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-13 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-573690407
 
 
   @squito did you have any comments on the changes to the ResourceProfile api?


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-13 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-573679715
 
 
   test this please


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-11 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-573336112
 
 
   python test not related and timeout error again on the linters


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-11 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-573336124
 
 
   test this please


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-11 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-573323120
 
 
   test failures on unrelated and we keep seeing timeout errors in the checks:
   [error] SERVER ERROR: GATEWAY_TIMEOUT 
url=https://repo.typesafe.com/typesafe/ivy-releases/org.codehaus.plexus/plexus-utils/3.0/jars/plexus-utils.jar


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-11 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-573323127
 
 
   test this please


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-10 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-573280378
 
 
   test this please


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-10 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-573128620
 
 
   test this please


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-10 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-573091298
 
 
   weird when I ran mima locally it passed with the updated excludes file, I'll 
run again locally.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-10 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-573055826
 
 
   test this please


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-10 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-573052392
 
 
   I updated to pass the ResourceProfile itself in the RetrieveSparkAppConfig 
message and removed all the resource profile internal confs.  This did require 
a bit of change, especially in the tests. This makes it more consistent where 
that same message will work for all cluster managers, the only thing that is 
cluster manager specific is it still has to launch the executor with the 
resource profile id.
   Note that things are hardcoded to the default resource profile (which is the 
same as reading from the application level configs) for this pr and future prs 
will add in support for others.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-09 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-572586040
 
 
   thanks for the review @vanzin, yeah this is just the executor side of the 
changes and much of this will actually be used by the dynamic allocation 
manager, I was just trying to split it into pieces that would be easier to 
review. I can certainly put them up different if people prefer.  You can see 
all of the code at https://github.com/apache/spark/pull/27053  
   
   Using the RetrieveSparkAppConfig to transfer the confs should work, good 
idea, I'll investigate it more.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-08 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-572287227
 
 
   looks like something we just committed conflicts, I'll update shortly


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2020-01-06 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-571276795
 
 
   looks like new test added that I wasn't upmerged to, upmerging and looking 
at failure


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2019-12-31 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-569974382
 
 
   test this please


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2019-12-30 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-569810603
 
 
   I put up a pull request that has most of the changes for the stage level 
scheduling features. you can use it as reference: 
https://github.com/apache/spark/pull/27053
   I updated this pr based on that.  I did find a few issues with the changes 
we made to the ResourceProfile, ExecutorResourceRequest(s), and 
TaskResourceRequest(s) so I included those changes here. 
   The main issue is that the things the ResourceProfile and requests are not 
long immutable. That meant that someone could change them after calling 
RDD.withResources and weird things would happen. To prevent that I created a 
new ImmutableResourceProfile class with the intention that the user can 
manipulate the REsourceProfile and requests in it all they want. Once they call 
rdd.withResources with that ResourceProfile spark internally creates the 
ImmutableResourceProfile from it and that is used internally so we don't have 
to worry about it changing.
   The other thing I discovered was that having the user specify "resource.gpu" 
for the custom resources caused a lot of problems when comparing it to just the 
application level resources where it was just tracked as "gpu".  So I ended up 
removing that requirement and since we have the ExecutorResourceREquests class 
where you can use .cores, .memory, .resources... I think that should be fine 
because its an obvious api.
   
   @squito, if you have ideas on better way to split this up into smaller prs 
let me know.  For instance if it would make more sense to do the executor side 
with the dynamic allocation manager I could change it to have both.


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2019-12-30 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-569717665
 
 
   
   
   > Don't you also need to change the location in ExecutorAllocationManager? 
Or is that coming in the next part you hint at on hooking this up to yarn?
   
   Yes you do, this was coming in the next PR. I have the feature mostly 
complete - except for the UI changes so I will put it up for reference. I was 
planning on splitting up based on the subtasks I have in the jira here: 
https://issues.apache.org/jira/browse/SPARK-27495
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2019-12-06 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-562577422
 
 
   @squito if you have any time
   
   Adding others to see if anyone has time to review
   @jiangxb1987 @dongjoon-hyun @vanzin @felixcheung 


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: Executors need to track what ResourceProfile they are created with

2019-11-27 Thread GitBox
tgravescs commented on issue #26682: [SPARK-29306][CORE] Stage Level Sched: 
Executors need to track what ResourceProfile they are created with 
URL: https://github.com/apache/spark/pull/26682#issuecomment-559098320
 
 
   cc @squito @holdenk 


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org