[jira] [Commented] (YARN-6301) Fair scheduler docs should explain the meaning of setting a queue's weight to zero

2017-03-14 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-6301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15923749#comment-15923749
 ] 

Hadoop QA commented on YARN-6301:
-

| (/) *{color:green}+1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m 
17s{color} | {color:blue} Docker mode activated. {color} |
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  
0s{color} | {color:green} The patch does not contain any @author tags. {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 12m 
41s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green}  0m 
15s{color} | {color:green} trunk passed {color} |
| {color:green}+1{color} | {color:green} mvnsite {color} | {color:green}  0m 
12s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m 
 0s{color} | {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 
17s{color} | {color:green} The patch does not generate ASF License warnings. 
{color} |
| {color:black}{color} | {color:black} {color} | {color:black} 14m  5s{color} | 
{color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Docker |  Image:yetus/hadoop:a9ad5d6 |
| JIRA Issue | YARN-6301 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12857157/YARN-6301.002.patch |
| Optional Tests |  asflicense  mvnsite  |
| uname | Linux 29f4f2539ed1 3.13.0-108-generic #155-Ubuntu SMP Wed Jan 11 
16:58:52 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /testptch/hadoop/patchprocess/precommit/personality/provided.sh 
|
| git revision | trunk / e5f2eed |
| modules | C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site U: 
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site |
| Console output | 
https://builds.apache.org/job/PreCommit-YARN-Build/15258/console |
| Powered by | Apache Yetus 0.5.0-SNAPSHOT   http://yetus.apache.org |


This message was automatically generated.



> Fair scheduler docs should explain the meaning of setting a queue's weight to 
> zero
> --
>
> Key: YARN-6301
> URL: https://issues.apache.org/jira/browse/YARN-6301
> Project: Hadoop YARN
>  Issue Type: Improvement
>  Components: fairscheduler
>Affects Versions: 3.0.0-alpha2
>Reporter: Daniel Templeton
>Assignee: Tao Jie
>  Labels: docs
> Attachments: YARN-6301.001.patch, YARN-6301.002.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Commented] (YARN-6301) Fair scheduler docs should explain the meaning of setting a queue's weight to zero

2017-03-09 Thread Tao Jie (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-6301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15904277#comment-15904277
 ] 

Tao Jie commented on YARN-6301:
---

Thank you [~templedf]. It is almost clear to me now. One thing I'd like to make 
it clear that "ad hoc queue" only works among its sibling queues. If one queue 
under another parent-queue has demand for resource, the "ad hoc queue" can 
still have resource due to fairshare of its parent-queue. 
If I am wrong, please correct me.

> Fair scheduler docs should explain the meaning of setting a queue's weight to 
> zero
> --
>
> Key: YARN-6301
> URL: https://issues.apache.org/jira/browse/YARN-6301
> Project: Hadoop YARN
>  Issue Type: Improvement
>  Components: fairscheduler
>Affects Versions: 3.0.0-alpha2
>Reporter: Daniel Templeton
>Assignee: Tao Jie
>  Labels: docs
> Attachments: YARN-6301.001.patch, YARN-6301.002.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Commented] (YARN-6301) Fair scheduler docs should explain the meaning of setting a queue's weight to zero

2017-03-09 Thread Daniel Templeton (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-6301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15903600#comment-15903600
 ] 

Daniel Templeton commented on YARN-6301:


Thanks, [~Tao Jie].  You're on the right track, but I'd like to be a little 
more explicit.  A queue with weight 0 will not receive resources as long as 
there is demand from any other queue.  A weight-0 queue is often called an "ad 
hoc queue."

> Fair scheduler docs should explain the meaning of setting a queue's weight to 
> zero
> --
>
> Key: YARN-6301
> URL: https://issues.apache.org/jira/browse/YARN-6301
> Project: Hadoop YARN
>  Issue Type: Improvement
>  Components: fairscheduler
>Affects Versions: 3.0.0-alpha2
>Reporter: Daniel Templeton
>Assignee: Tao Jie
>  Labels: docs
> Attachments: YARN-6301.001.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Commented] (YARN-6301) Fair scheduler docs should explain the meaning of setting a queue's weight to zero

2017-03-09 Thread Tao Jie (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-6301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15902659#comment-15902659
 ] 

Tao Jie commented on YARN-6301:
---

Attached a patch and improved the docs in FairScheduler.md

> Fair scheduler docs should explain the meaning of setting a queue's weight to 
> zero
> --
>
> Key: YARN-6301
> URL: https://issues.apache.org/jira/browse/YARN-6301
> Project: Hadoop YARN
>  Issue Type: Improvement
>  Components: fairscheduler
>Affects Versions: 3.0.0-alpha2
>Reporter: Daniel Templeton
>  Labels: docs
> Attachments: YARN-6301.001.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Commented] (YARN-6301) Fair scheduler docs should explain the meaning of setting a queue's weight to zero

2017-03-08 Thread Tao Jie (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-6301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15902618#comment-15902618
 ] 

Tao Jie commented on YARN-6301:
---

[~templedf], today queue's weight is allowed to be zero even negative. It seems 
to me that the queue could not get any share more than the MinResource in that 
case, am I correct? Should we add a non-negative check here since negative 
weight of queue is more confusing?

> Fair scheduler docs should explain the meaning of setting a queue's weight to 
> zero
> --
>
> Key: YARN-6301
> URL: https://issues.apache.org/jira/browse/YARN-6301
> Project: Hadoop YARN
>  Issue Type: Improvement
>  Components: fairscheduler
>Affects Versions: 3.0.0-alpha2
>Reporter: Daniel Templeton
>  Labels: docs
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org