[jira] [Commented] (YARN-6878) TestCapacityScheduler.testDefaultNodeLabelExpressionQueueConfig() has the args to assertEqual() in the wrong order

2017-09-14 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16165892#comment-16165892 ] Sen Zhao commented on YARN-6878: I find other wrong order about asserEqual() in TestCapacityScheduler and

[jira] [Comment Edited] (YARN-6878) TestCapacityScheduler.testDefaultNodeLabelExpressionQueueConfig() has the args to assertEqual() in the wrong order

2017-09-14 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16165892#comment-16165892 ] Sen Zhao edited comment on YARN-6878 at 9/14/17 7:42 AM: - I find other wrong order

[jira] [Updated] (YARN-6878) TestCapacityScheduler.testDefaultNodeLabelExpressionQueueConfig() has the args to assertEqual() in the wrong order

2017-09-14 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-6878: --- Attachment: YARN-6878.003.patch > TestCapacityScheduler.testDefaultNodeLabelExpressionQueueConfig() has the >

[jira] [Commented] (YARN-6878) TestCapacityScheduler.testDefaultNodeLabelExpressionQueueConfig() has the args to assertEqual() in the wrong order

2017-09-14 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16165933#comment-16165933 ] Sen Zhao commented on YARN-6878: Oh, I did not notice this. I will fix it soon. Thanks, [~templedf] >

[jira] [Reopened] (YARN-7153) Remove duplicated code in AMRMClientAsyncImpl.java

2017-09-16 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao reopened YARN-7153: > Remove duplicated code in AMRMClientAsyncImpl.java > -- > >

[jira] [Commented] (YARN-7001) If shared cache upload is terminated in the middle, the temp file will never be deleted

2017-09-19 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16172642#comment-16172642 ] Sen Zhao commented on YARN-7001: [~miklos.szeg...@cloudera.com], I add a unit test in this patch. Could you

[jira] [Updated] (YARN-7001) If shared cache upload is terminated in the middle, the temp file will never be deleted

2017-09-19 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7001: --- Attachment: YARN-7001.002.patch > If shared cache upload is terminated in the middle, the temp file will never

[jira] [Commented] (YARN-6878) TestCapacityScheduler.testDefaultNodeLabelExpressionQueueConfig() has the args to assertEqual() in the wrong order

2017-09-19 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16171360#comment-16171360 ] Sen Zhao commented on YARN-6878: The failed tests are unrelated. [~templedf], can you give me some advises

[jira] [Updated] (YARN-7001) If shared cache upload is terminated in the middle, the temp file will never be deleted

2017-09-19 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7001: --- Attachment: YARN-7001.001.patch > If shared cache upload is terminated in the middle, the temp file will never

[jira] [Assigned] (YARN-7001) If shared cache upload is terminated in the middle, the temp file will never be deleted

2017-09-19 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao reassigned YARN-7001: -- Assignee: Sen Zhao > If shared cache upload is terminated in the middle, the temp file will never > be

[jira] [Commented] (YARN-7001) If shared cache upload is terminated in the middle, the temp file will never be deleted

2017-09-19 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16171520#comment-16171520 ] Sen Zhao commented on YARN-7001: Hi, [~miklos.szeg...@cloudera.com]. I would like to try this issue. And I

[jira] [Updated] (YARN-7001) If shared cache upload is terminated in the middle, the temp file will never be deleted

2017-09-19 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7001: --- Attachment: YARN-7001.003.patch > If shared cache upload is terminated in the middle, the temp file will never

[jira] [Commented] (YARN-7001) If shared cache upload is terminated in the middle, the temp file will never be deleted

2017-09-20 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16172824#comment-16172824 ] Sen Zhao commented on YARN-7001: Patch 003 to fix failed junit test. > If shared cache upload is

[jira] [Updated] (YARN-7001) If shared cache upload is terminated in the middle, the temp file will never be deleted

2017-09-20 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7001: --- Attachment: YARN-7001.004.patch > If shared cache upload is terminated in the middle, the temp file will never

[jira] [Commented] (YARN-7001) If shared cache upload is terminated in the middle, the temp file will never be deleted

2017-09-20 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16172887#comment-16172887 ] Sen Zhao commented on YARN-7001: Patch 004 to fix checkstyle. > If shared cache upload is terminated in

[jira] [Commented] (YARN-6878) TestCapacityScheduler.testDefaultNodeLabelExpressionQueueConfig() has the args to assertEqual() in the wrong order

2017-09-22 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16177445#comment-16177445 ] Sen Zhao commented on YARN-6878: Thanks for your review and commit, [~templedf]! >

[jira] [Updated] (YARN-7236) [Docs] In the TimelineClient example, there are some confusing logic

2017-09-21 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7236: --- Attachment: YARN-7236.001.patch > [Docs] In the TimelineClient example, there are some confusing logic >

[jira] [Updated] (YARN-7236) [Docs] In the TimelineClient example, there are some confusing logic

2017-09-21 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7236: --- Description: Firstly, the entity is not defined in the example; Secondly, "TimelinePutResponse response" is

[jira] [Updated] (YARN-7236) [Docs] In the TimelineClient example, there are some confusing logic

2017-09-21 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7236: --- Description: Firstly, the entity is not defined in the example; Secondly, "TimelinePutResponse response" is

[jira] [Updated] (YARN-7236) [Docs] In the TimelineClient example, there are some confusing logic

2017-09-21 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7236: --- Description: Firstly, the entity and timelineClient are not defined in the example; Secondly,

[jira] [Commented] (YARN-7045) Remove FSLeafQueue#addAppSchedulable

2017-09-21 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16174542#comment-16174542 ] Sen Zhao commented on YARN-7045: The failed test is unrelated. Please review the latest patch, thanks

[jira] [Created] (YARN-7236) [Docs] In the TimelineClient example, there are some confusing logic

2017-09-21 Thread Sen Zhao (JIRA)
Sen Zhao created YARN-7236: -- Summary: [Docs] In the TimelineClient example, there are some confusing logic Key: YARN-7236 URL: https://issues.apache.org/jira/browse/YARN-7236 Project: Hadoop YARN

[jira] [Updated] (YARN-7045) Remove FSLeafQueue#addAppSchedulable

2017-09-21 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7045: --- Attachment: YARN-7045.002.patch > Remove FSLeafQueue#addAppSchedulable >

[jira] [Assigned] (YARN-7045) Remove FSLeafQueue#addAppSchedulable

2017-09-20 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao reassigned YARN-7045: -- Assignee: Sen Zhao > Remove FSLeafQueue#addAppSchedulable > > >

[jira] [Commented] (YARN-6878) TestCapacityScheduler.testDefaultNodeLabelExpressionQueueConfig() has the args to assertEqual() in the wrong order

2017-09-21 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16174317#comment-16174317 ] Sen Zhao commented on YARN-6878: Thanks for your review, [~templedf] >

[jira] [Commented] (YARN-7045) Remove FSLeafQueue#addAppSchedulable

2017-09-20 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16174310#comment-16174310 ] Sen Zhao commented on YARN-7045: HI, [~yufeigu]. I would like to try this issue. > Remove

[jira] [Updated] (YARN-7045) Remove FSLeafQueue#addAppSchedulable

2017-09-21 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7045: --- Attachment: YARN-7045.001.patch > Remove FSLeafQueue#addAppSchedulable >

[jira] [Updated] (YARN-6878) TestCapacityScheduler.testDefaultNodeLabelExpressionQueueConfig() has the args to assertEqual() in the wrong order

2017-09-14 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-6878: --- Attachment: YARN-6878.003.patch > TestCapacityScheduler.testDefaultNodeLabelExpressionQueueConfig() has the >

[jira] [Updated] (YARN-6878) TestCapacityScheduler.testDefaultNodeLabelExpressionQueueConfig() has the args to assertEqual() in the wrong order

2017-09-14 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-6878: --- Attachment: (was: YARN-6878.003.patch) > TestCapacityScheduler.testDefaultNodeLabelExpressionQueueConfig()

[jira] [Commented] (YARN-7172) ResourceCalculator.fitsIn() should not take a cluster resource parameter

2017-09-17 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16169597#comment-16169597 ] Sen Zhao commented on YARN-7172: Thank you, [~leftnoteasy] and [~templedf] > ResourceCalculator.fitsIn()

[jira] [Commented] (YARN-7172) ResourceCalculator.fitsIn() should not take a cluster resource parameter

2017-09-17 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16169538#comment-16169538 ] Sen Zhao commented on YARN-7172: HI, [~templedf]. Could you help me to review the latest patch? If there

[jira] [Updated] (YARN-6878) TestCapacityScheduler.testDefaultNodeLabelExpressionQueueConfig() has the args to assertEqual() in the wrong order

2017-09-13 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-6878: --- Attachment: YARN-6878.001.patch > TestCapacityScheduler.testDefaultNodeLabelExpressionQueueConfig() has the >

[jira] [Assigned] (YARN-6878) TestCapacityScheduler.testDefaultNodeLabelExpressionQueueConfig() has the args to assertEqual() in the wrong order

2017-09-13 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao reassigned YARN-6878: -- Assignee: Sen Zhao > TestCapacityScheduler.testDefaultNodeLabelExpressionQueueConfig() has the > args

[jira] [Commented] (YARN-7045) Remove FSLeafQueue#addAppSchedulable

2017-09-21 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16175765#comment-16175765 ] Sen Zhao commented on YARN-7045: Thanks for your review and commit, [~yufeigu] > Remove

[jira] [Updated] (YARN-6878) TestCapacityScheduler.testDefaultNodeLabelExpressionQueueConfig() has the args to assertEqual() in the wrong order

2017-09-14 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-6878: --- Attachment: YARN-6878.002.patch > TestCapacityScheduler.testDefaultNodeLabelExpressionQueueConfig() has the >

[jira] [Assigned] (YARN-7172) ResourceCalculator.fitsIn() should not take a cluster resource parameter

2017-09-08 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao reassigned YARN-7172: -- Assignee: Sen Zhao > ResourceCalculator.fitsIn() should not take a cluster resource parameter >

[jira] [Updated] (YARN-7172) ResourceCalculator.fitsIn() should not take a cluster resource parameter

2017-09-08 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7172: --- Attachment: YARN-7172.001.patch > ResourceCalculator.fitsIn() should not take a cluster resource parameter >

[jira] [Assigned] (YARN-7153) Remove duplicated code in AMRMClientAsyncImpl.java

2017-09-08 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao reassigned YARN-7153: -- Assignee: Sen Zhao > Remove duplicated code in AMRMClientAsyncImpl.java >

[jira] [Commented] (YARN-7172) ResourceCalculator.fitsIn() should not take a cluster resource parameter

2017-09-08 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16158239#comment-16158239 ] Sen Zhao commented on YARN-7172: [~templedf],could you please add me into the contributor list so that I

[jira] [Updated] (YARN-7172) ResourceCalculator.fitsIn() should not take a cluster resource parameter

2017-09-10 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7172: --- Attachment: YARN-7172.004.patch > ResourceCalculator.fitsIn() should not take a cluster resource parameter >

[jira] [Commented] (YARN-7172) ResourceCalculator.fitsIn() should not take a cluster resource parameter

2017-09-10 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16160741#comment-16160741 ] Sen Zhao commented on YARN-7172: Patch to solve the issue of checkstyle. > ResourceCalculator.fitsIn()

[jira] [Commented] (YARN-7153) Remove duplicated code in AMRMClientAsyncImpl.java

2017-09-04 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16153021#comment-16153021 ] Sen Zhao commented on YARN-7153: TestLogsCLI fails in trunk. > Remove duplicated code in

[jira] [Updated] (YARN-7153) Remove duplicated code in AMRMClientAsyncImpl.java

2017-09-05 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7153: --- Component/s: client > Remove duplicated code in AMRMClientAsyncImpl.java >

[jira] [Issue Comment Deleted] (YARN-7153) Remove duplicated code in AMRMClientAsyncImpl.java

2017-09-06 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7153: --- Comment: was deleted (was: TestLogsCLI fails in trunk.) > Remove duplicated code in AMRMClientAsyncImpl.java

[jira] [Commented] (YARN-7172) ResourceCalculator.fitsIn() should not take a cluster resource parameter

2017-09-12 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16164020#comment-16164020 ] Sen Zhao commented on YARN-7172: Thanks for your review, [~templedf] and [~leftnoteasy]. I will commit

[jira] [Updated] (YARN-7172) ResourceCalculator.fitsIn() should not take a cluster resource parameter

2017-09-12 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7172: --- Attachment: YARN-7172.006.patch > ResourceCalculator.fitsIn() should not take a cluster resource parameter >

[jira] [Updated] (YARN-7172) ResourceCalculator.fitsIn() should not take a cluster resource parameter

2017-09-09 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7172: --- Attachment: YARN-7172.002.patch > ResourceCalculator.fitsIn() should not take a cluster resource parameter >

[jira] [Commented] (YARN-7172) ResourceCalculator.fitsIn() should not take a cluster resource parameter

2017-09-09 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16159791#comment-16159791 ] Sen Zhao commented on YARN-7172: Patch to address checkstyle issues. > ResourceCalculator.fitsIn() should

[jira] [Commented] (YARN-7172) ResourceCalculator.fitsIn() should not take a cluster resource parameter

2017-09-07 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16158138#comment-16158138 ] Sen Zhao commented on YARN-7172: I am very interested in this. For a while I will provide a patch. >

[jira] [Commented] (YARN-7172) ResourceCalculator.fitsIn() should not take a cluster resource parameter

2017-09-10 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16160590#comment-16160590 ] Sen Zhao commented on YARN-7172: Thanks, [~templedf]. I will submit a patch to resolve this. >

[jira] [Updated] (YARN-7172) ResourceCalculator.fitsIn() should not take a cluster resource parameter

2017-09-10 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7172: --- Attachment: YARN-7172.003.patch > ResourceCalculator.fitsIn() should not take a cluster resource parameter >

[jira] [Commented] (YARN-5913) Consolidate "resource" and "amResourceRequest" in ApplicationSubmissionContext

2017-09-12 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-5913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16162844#comment-16162844 ] Sen Zhao commented on YARN-5913: In ApplicationSubmissionContext, "priority" can also be consolidate into

[jira] [Updated] (YARN-7153) Remove duplicated code in AMRMClientAsyncImpl.java

2017-09-06 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7153: --- Description: I notice there are some codes in AMRMClientAsyncImpl#setHeartbeatInterval duplicate that in

[jira] [Commented] (YARN-7153) Remove duplicated code in AMRMClientAsyncImpl.java

2017-09-06 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16156309#comment-16156309 ] Sen Zhao commented on YARN-7153: This patch simply removes duplicate code and does not require new tests.

[jira] [Updated] (YARN-7255) FiCaSchedulerApp.getAllocation() have a unuse parameter

2017-09-26 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7255: --- Description: In {{CapacityScheduler.allocate()}}, there is a call {{getResourceCalculator()}} to get a value

[jira] [Updated] (YARN-7255) FiCaSchedulerApp.getAllocation() have a unuse parameter

2017-09-26 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7255: --- Description: In {{CapacityScheduler.allocate()}}, there is a call {{getResourceCalculator()}} to get a value

[jira] [Commented] (YARN-7255) FiCaSchedulerApp.getAllocation() have a unuse parameter

2017-09-26 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16181828#comment-16181828 ] Sen Zhao commented on YARN-7255: This modification does not involve any tests and the failed tests are

[jira] [Assigned] (YARN-7222) Merge org.apache.hadoop.yarn.server.resourcemanager.NodeManager with MockNM

2017-09-29 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao reassigned YARN-7222: -- Assignee: Sen Zhao I agree with you. If you have time, please review the patch. > Merge

[jira] [Updated] (YARN-7222) Merge org.apache.hadoop.yarn.server.resourcemanager.NodeManager with MockNM

2017-09-30 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7222: --- Attachment: YARN-7222.002.patch Patch 002 to fix the checkstytle. > Merge

[jira] [Updated] (YARN-7222) Merge org.apache.hadoop.yarn.server.resourcemanager.NodeManager with MockNM

2017-09-29 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7222: --- Attachment: YARN-7222.001.patch > Merge org.apache.hadoop.yarn.server.resourcemanager.NodeManager with MockNM

[jira] [Created] (YARN-7255) FiCaSchedulerApp.getAllocation() have a unuse parameter

2017-09-26 Thread Sen Zhao (JIRA)
Sen Zhao created YARN-7255: -- Summary: FiCaSchedulerApp.getAllocation() have a unuse parameter Key: YARN-7255 URL: https://issues.apache.org/jira/browse/YARN-7255 Project: Hadoop YARN Issue Type:

[jira] [Commented] (YARN-7153) Remove duplicated code in AMRMClientAsyncImpl.java

2017-09-25 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16180044#comment-16180044 ] Sen Zhao commented on YARN-7153: Thanks for your review, [~ajisakaa]! > Remove duplicated code in

[jira] [Updated] (YARN-7255) FiCaSchedulerApp.getAllocation() have a unuse parameter

2017-09-26 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7255: --- Component/s: capacity scheduler > FiCaSchedulerApp.getAllocation() have a unuse parameter >

[jira] [Updated] (YARN-7255) FiCaSchedulerApp.getAllocation() have a unuse parameter

2017-09-26 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7255: --- Description: In CapacityScheduler.allocate(), there is a call {{getResourceCalculator()}} to get a value to

[jira] [Updated] (YARN-7255) FiCaSchedulerApp.getAllocation() have a unuse parameter

2017-09-26 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7255: --- Attachment: YARN-7255.001.patch > FiCaSchedulerApp.getAllocation() have a unuse parameter >

[jira] [Commented] (YARN-7001) If shared cache upload is terminated in the middle, the temp file will never be deleted

2017-09-25 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16178861#comment-16178861 ] Sen Zhao commented on YARN-7001: HI, [~miklos.szeg...@cloudera.com]. Could you give me some advices about

[jira] [Commented] (YARN-7153) Remove duplicated code in AMRMClientAsyncImpl.java

2017-09-04 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16152297#comment-16152297 ] Sen Zhao commented on YARN-7153: Submit patch001! > Remove duplicated code in AMRMClientAsyncImpl.java >

[jira] [Created] (YARN-7153) Remove duplicated code in AMRMClientAsyncImpl.java

2017-09-04 Thread Sen Zhao (JIRA)
Sen Zhao created YARN-7153: -- Summary: Remove duplicated code in AMRMClientAsyncImpl.java Key: YARN-7153 URL: https://issues.apache.org/jira/browse/YARN-7153 Project: Hadoop YARN Issue Type: Bug

[jira] [Updated] (YARN-7153) Remove duplicated code in AMRMClientAsyncImpl.java

2017-09-04 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7153: --- Description: I notice that there are some duplicated codes in YARN-7153.001.patch (was: I notice that there

[jira] [Updated] (YARN-7153) Remove duplicated code in AMRMClientAsyncImpl.java

2017-09-04 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7153: --- Description: I notice that there are some duplicated codes in > Remove duplicated code in

[jira] [Updated] (YARN-7153) Remove duplicated code in AMRMClientAsyncImpl.java

2017-09-04 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7153: --- Description: I notice there are some codes in AMRMClientAsyncImpl.java duplicate that in AMRMClientAsync.java.

[jira] [Commented] (YARN-7357) Several methods in TestZKRMStateStore.TestZKRMStateStoreTester.TestZKRMStateStoreInternal should have @Override annotations

2017-10-23 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16216180#comment-16216180 ] Sen Zhao commented on YARN-7357: Thanks for your review, [~templedf]. > Several methods in >

[jira] [Updated] (YARN-7357) Several methods in TestZKRMStateStore.TestZKRMStateStoreTester.TestZKRMStateStoreInternal should have @Override annotations

2017-10-19 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-7357: --- Attachment: YARN-7357.001.patch HI, [~templedf]. I submit a patch to fix it. Please review it. Thanks >

[jira] [Assigned] (YARN-7357) Several methods in TestZKRMStateStore.TestZKRMStateStoreTester.TestZKRMStateStoreInternal should have @Override annotations

2017-10-20 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-7357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao reassigned YARN-7357: -- Assignee: Sen Zhao > Several methods in >

[jira] [Created] (YARN-8604) Modify WebApps.Builder#at to parse IPv6 address

2018-07-30 Thread Sen Zhao (JIRA)
Sen Zhao created YARN-8604: -- Summary: Modify WebApps.Builder#at to parse IPv6 address Key: YARN-8604 URL: https://issues.apache.org/jira/browse/YARN-8604 Project: Hadoop YARN Issue Type:

[jira] [Updated] (YARN-8604) Modify WebApps.Builder#at to parse IPv6 address

2018-07-30 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-8604: --- Description: If the bindAddress is an IPv6 address, the port number will not be returned correctly. It should

[jira] [Updated] (YARN-8604) Modify WebApps.Builder#at to parse IPv6 address

2018-07-30 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-8604: --- Attachment: YARN-8604.001.patch > Modify WebApps.Builder#at to parse IPv6 address >

[jira] [Created] (YARN-8614) Some typos in YarnConfiguration

2018-08-02 Thread Sen Zhao (JIRA)
Sen Zhao created YARN-8614: -- Summary: Some typos in YarnConfiguration Key: YARN-8614 URL: https://issues.apache.org/jira/browse/YARN-8614 Project: Hadoop YARN Issue Type: Bug Reporter:

[jira] [Commented] (YARN-8613) Old RM UI shows wrong vcores total value

2018-08-02 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16566433#comment-16566433 ] Sen Zhao commented on YARN-8613: Is it possible to use {{rs.getClusterResource().getVirtualCores()}}

[jira] [Updated] (YARN-8614) Some typos in YarnConfiguration

2018-08-02 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-8614: --- Attachment: YARN-8614.001.patch > Some typos in YarnConfiguration > --- > >

[jira] [Assigned] (YARN-8614) Some typos in YarnConfiguration

2018-08-02 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao reassigned YARN-8614: -- Assignee: Sen Zhao > Some typos in YarnConfiguration > --- > >

[jira] [Commented] (YARN-8614) Some typos in YarnConfiguration

2018-08-06 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16569861#comment-16569861 ] Sen Zhao commented on YARN-8614: No unit test is needed here. > Some typos in YarnConfiguration >

[jira] [Updated] (YARN-8662) Fair Scheduler stops scheduling when a queue is configured only CPU and memory

2018-08-15 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-8662: --- Component/s: fairscheduler > Fair Scheduler stops scheduling when a queue is configured only CPU and memory >

[jira] [Assigned] (YARN-8613) Old RM UI shows wrong vcores total value

2018-08-15 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao reassigned YARN-8613: -- Assignee: (was: Sen Zhao) > Old RM UI shows wrong vcores total value >

[jira] [Updated] (YARN-8662) Fair Scheduler stops scheduling when the queue is configured only CPU and memory

2018-08-14 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-8662: --- Description: Add a new resource type in resource-types.xml, eg: resource1. In fair scheduler when queue's

[jira] [Updated] (YARN-8662) Fair Scheduler stops scheduling when only memory and CPU were configured on maxResources

2018-08-14 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-8662: --- Description: Add a new resource type in resource-types.xml. > Fair Scheduler stops scheduling when only

[jira] [Updated] (YARN-8662) Fair Scheduler stops scheduling when the queue is configured only CPU and memory

2018-08-14 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-8662: --- Summary: Fair Scheduler stops scheduling when the queue is configured only CPU and memory (was: Fair

[jira] [Created] (YARN-8662) Fair Scheduler stops scheduling when only memory and CPU were configured on maxResources

2018-08-14 Thread Sen Zhao (JIRA)
Sen Zhao created YARN-8662: -- Summary: Fair Scheduler stops scheduling when only memory and CPU were configured on maxResources Key: YARN-8662 URL: https://issues.apache.org/jira/browse/YARN-8662 Project:

[jira] [Updated] (YARN-8662) Fair Scheduler stops scheduling when a queue is configured only CPU and memory

2018-08-14 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-8662: --- Summary: Fair Scheduler stops scheduling when a queue is configured only CPU and memory (was: Fair Scheduler

[jira] [Assigned] (YARN-8662) Fair Scheduler stops scheduling when the queue is configured only CPU and memory

2018-08-14 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao reassigned YARN-8662: -- Assignee: Sen Zhao Attachment: YARN-8662.001.patch > Fair Scheduler stops scheduling when the

[jira] [Updated] (YARN-8662) Fair Scheduler stops scheduling when the queue is configured only CPU and memory

2018-08-14 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-8662: --- Attachment: NonResourceToSchedule.png > Fair Scheduler stops scheduling when the queue is configured only CPU

[jira] [Updated] (YARN-8614) Some typos in YarnConfiguration

2018-08-14 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-8614: --- Attachment: YARN-8614.002.patch > Some typos in YarnConfiguration > --- > >

[jira] [Commented] (YARN-8614) Some typos in YarnConfiguration

2018-08-14 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16580617#comment-16580617 ] Sen Zhao commented on YARN-8614: Thanks [~cheersyang] for your comments. Patch 002 to fix it. > Some

[jira] [Commented] (YARN-8614) Fix few annotation typos in YarnConfiguration

2018-08-14 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16580716#comment-16580716 ] Sen Zhao commented on YARN-8614: OK. Thanks for your review, [~cheersyang] > Fix few annotation typos in

[jira] [Assigned] (YARN-8613) Old RM UI shows wrong vcores total value

2018-08-07 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao reassigned YARN-8613: -- Assignee: Sen Zhao > Old RM UI shows wrong vcores total value >

[jira] [Updated] (YARN-8613) Old RM UI shows wrong vcores total value

2018-08-07 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-8613: --- Attachment: YARN-8613.001.patch > Old RM UI shows wrong vcores total value >

[jira] [Commented] (YARN-8613) Old RM UI shows wrong vcores total value

2018-08-07 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16571316#comment-16571316 ] Sen Zhao commented on YARN-8613: Update a patch to fix this problem. > Old RM UI shows wrong vcores total

[jira] [Updated] (YARN-8662) Fair Scheduler stops scheduling when the queue is configured only CPU and memory

2018-08-14 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-8662: --- Description: Add a new resource type in resource-types.xml, eg: resource1. In Fair scheduler when queue's

[jira] [Created] (YARN-8701) If the single parameter in Resources#createResourceWithSameValue is greater than Integer.MAX_VALUE, then the value of vcores will be -1

2018-08-22 Thread Sen Zhao (JIRA)
Sen Zhao created YARN-8701: -- Summary: If the single parameter in Resources#createResourceWithSameValue is greater than Integer.MAX_VALUE, then the value of vcores will be -1 Key: YARN-8701 URL:

[jira] [Updated] (YARN-8701) If the single parameter in Resources#createResourceWithSameValue is greater than Integer.MAX_VALUE, then the value of vcores will be -1

2018-08-22 Thread Sen Zhao (JIRA)
[ https://issues.apache.org/jira/browse/YARN-8701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sen Zhao updated YARN-8701: --- Description: If I configure *MaxResources* in fair-scheduler.xml, like this: {code}resource1=50{code} In the

  1   2   >