Re: [DISCUSS] handling roles in Myriad code

2016-11-04 Thread Darin Johnson
> > > framework can register to receive reserved resources from multiple > > > different roles, and subscribe to their quotas as well. That's > currently > > in > > > design, but will take months to implement. > > > > > > Hope this he

Re: [DISCUSS] handling roles in Myriad code

2016-11-02 Thread Adam Bordelon
implement. > > > > Hope this helps. I've numbered my points in case you have questions about > > any of it. > > Cheers, > > -Adam- > > > > > > On Fri, Oct 28, 2016 at 4:10 PM, yuliya Feldman > > <yufeld...@yahoo.com.invalid > > > wrote:

Re: [DISCUSS] handling roles in Myriad code

2016-11-02 Thread Darin Johnson
t; > resources via mechanisms such as reserved resorces and quotas. > Also > > if > > > > you > > > > > don't pay attention you can miss a lot of the resources you're > given. > > > I > > > > > wish it was we didn't have to do all the book

Re: [DISCUSS] handling roles in Myriad code

2016-11-02 Thread Adam Bordelon
at are not > specific to the role it has (or entitled to), so we may not need much roles > manipulation in Myriad code. > Just my 2c of gut feelings :) > Thanks,Yuliya > > From: Darin Johnson <dbjohnson1...@gmail.com> > To: Dev <dev@myriad.incubator.apache.org> &g

Re: [DISCUSS] handling roles in Myriad code

2016-10-28 Thread yuliya Feldman
<dbjohnson1...@gmail.com> To: Dev <dev@myriad.incubator.apache.org> Sent: Friday, October 28, 2016 2:54 PM Subject: Re: [DISCUSS] handling roles in Myriad code Any word from Adam or Mohit? On Oct 20, 2016 12:36 AM, "Klaus Ma" <klaus1982...@gmail.com> wrote: > I

Re: [DISCUSS] handling roles in Myriad code

2016-10-28 Thread Darin Johnson
d> wrote: > > > > > >> I am not sure we should care about role being set or not, what if in > the > > >> future we will have multiple rolesNot even sure if presence/absence of > > role > > >> should play role (no pun intended :

Re: [DISCUSS] handling roles in Myriad code

2016-10-19 Thread Klaus Ma
arin Johnson <dbjohnson1...@gmail.com> > >> To: Dev <dev@myriad.incubator.apache.org>; yuliya Feldman < > >> yufeld...@yahoo.com> > >> Sent: Wednesday, October 19, 2016 7:17 PM > >> Subject: Re: [DISCUSS] handling roles in Myriad code > >>

Re: [DISCUSS] handling roles in Myriad code

2016-10-19 Thread Yuliya
b/master/ >>> myriad-scheduler/src/main/java/org/apache/myriad/scheduler/resource/ >>> RangeResource.java#L85 >>> [2] https://github.com/apache/incubator-myriad/blob/master/ >>> myriad-scheduler/src/main/java/org/apache/myriad/scheduler/resource/ >>> RangeResource

Re: [DISCUSS] handling roles in Myriad code

2016-10-19 Thread Darin Johnson
@yahoo.com> > Sent: Wednesday, October 19, 2016 7:17 PM > Subject: Re: [DISCUSS] handling roles in Myriad code > > Ah so if I understand correctly, if frameworkRole='*' is present in the > config, it's handled as thought it's the framework role. I believe when I > was testing I w

Re: [DISCUSS] handling roles in Myriad code

2016-10-19 Thread yuliya Feldman
>; yuliya Feldman <yufeld...@yahoo.com> Sent: Wednesday, October 19, 2016 7:17 PM Subject: Re: [DISCUSS] handling roles in Myriad code Ah so if I understand correctly, if frameworkRole='*' is present in the config, it's handled as thought it's the framework role.  I believe when I was t

Re: [DISCUSS] handling roles in Myriad code

2016-10-19 Thread Darin Johnson
; > myriad-scheduler/src/main/java/org/apache/myriad/scheduler/resource/ > > RangeResource.java#L140 > > > > > > From: Darin Johnson <dbjohnson1...@gmail.com> > > To: Dev <dev@myriad.incubator.apache.org>; yuliya Feldman < > > yufeld...@ya

Re: [DISCUSS] handling roles in Myriad code

2016-10-19 Thread Darin Johnson
Yuyiya, Yes on master a lot of refactoring was done, in particular you specify ports other than 0 in the myriad-default.yaml, it will only return those ports (not random ones). This was done in part because the we were attempting the use the JHS on a port like 32001, but it the port was already