[jira] [Commented] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-06-11 Thread Chengwei Wang (Jira)


[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17132953#comment-17132953
 ] 

Chengwei Wang commented on MAPREDUCE-7274:
--

upload patch v002 to fix problems in building.[^MAPREDUCE-7274.002.patch]

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274.002.patch, MAPREDUCE-7274.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-06-10 Thread Chengwei Wang (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chengwei Wang updated MAPREDUCE-7274:
-
Attachment: MAPREDUCE-7274.002.patch

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274.002.patch, MAPREDUCE-7274.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Comment Edited] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-05-26 Thread Chengwei Wang (Jira)


[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17116482#comment-17116482
 ] 

Chengwei Wang edited comment on MAPREDUCE-7274 at 5/26/20, 7:23 AM:


delete unavailable patch for branch 3.2.0

upload patch for trunk.  [^MAPREDUCE-7274.patch]


was (Author: smarthan):
delte patch for branch 3.2.0, and upload patch for trunk.

[^MAPREDUCE-7274.patch]

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Comment Edited] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-05-26 Thread Chengwei Wang (Jira)


[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17116482#comment-17116482
 ] 

Chengwei Wang edited comment on MAPREDUCE-7274 at 5/26/20, 7:09 AM:


delte patch for branch 3.2.0, and upload patch for trunk.

[^MAPREDUCE-7274.patch]


was (Author: smarthan):
upload patch for trunk.

[^MAPREDUCE-7274.patch]

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Comment Edited] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-05-26 Thread Chengwei Wang (Jira)


[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084662#comment-17084662
 ] 

Chengwei Wang edited comment on MAPREDUCE-7274 at 5/26/20, 7:08 AM:


upload patch for branch 3.2.0. 

It enable us to set limit for running tasks when job is running by mapred 
client command:
{code:bash}
mapred job -set-running-task-limit JOB_ID TASK_TYPE LIMIT

e.g.
   mapred job -set-running-task-limit job_1583809537551_21297 MAP 100
   mapred job -set-running-task-limit job_1583809537551_21297 REDUCE 100
{code}
it send a rpc resquest to AM, and AM would update the max running limit of the 
specified type task as specified limit count.

 
  


was (Author: smarthan):
upload patch for branch 3.2.0.

 

It enable us to set limit for running tasks when job is running by mapred 
client command:
{code:bash}
mapred job -set-running-task-limit JOB_ID TASK_TYPE LIMIT

e.g.
   mapred job -set-running-task-limit job_1583809537551_21297 MAP 100
   mapred job -set-running-task-limit job_1583809537551_21297 REDUCE 100
{code}
it send a rpc resquest to AM, and AM would update the max running limit of the 
specified type task as specified limit count.

 
  

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Comment Edited] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-05-26 Thread Chengwei Wang (Jira)


[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084662#comment-17084662
 ] 

Chengwei Wang edited comment on MAPREDUCE-7274 at 5/26/20, 7:08 AM:


upload patch for branch 3.2.0.

 

It enable us to set limit for running tasks when job is running by mapred 
client command:
{code:bash}
mapred job -set-running-task-limit JOB_ID TASK_TYPE LIMIT

e.g.
   mapred job -set-running-task-limit job_1583809537551_21297 MAP 100
   mapred job -set-running-task-limit job_1583809537551_21297 REDUCE 100
{code}
it send a rpc resquest to AM, and AM would update the max running limit of the 
specified type task as specified limit count.

 
  


was (Author: smarthan):
It enable us to set limit for running tasks when job is running by mapred 
client command:
{code:bash}
mapred job -set-running-task-limit JOB_ID TASK_TYPE LIMIT

e.g.
   mapred job -set-running-task-limit job_1583809537551_21297 MAP 100
   mapred job -set-running-task-limit job_1583809537551_21297 REDUCE 100
{code}
it send a rpc resquest to AM, and AM would update the max running limit of the 
specified type task as specified limit count.

 
 

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-05-26 Thread Chengwei Wang (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chengwei Wang updated MAPREDUCE-7274:
-
Attachment: (was: MAPREDUCE-7274-branch-3.2.0.patch)

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-05-26 Thread Chengwei Wang (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chengwei Wang updated MAPREDUCE-7274:
-
Attachment: (was: MAPREDUCE-7274-branch-3.2.0-v2.patch)

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Comment Edited] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-05-26 Thread Chengwei Wang (Jira)


[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084662#comment-17084662
 ] 

Chengwei Wang edited comment on MAPREDUCE-7274 at 5/26/20, 7:07 AM:


It enable us to set limit for running tasks when job is running by mapred 
client command:
{code:bash}
mapred job -set-running-task-limit JOB_ID TASK_TYPE LIMIT

e.g.
   mapred job -set-running-task-limit job_1583809537551_21297 MAP 100
   mapred job -set-running-task-limit job_1583809537551_21297 REDUCE 100
{code}
it send a rpc resquest to AM, and AM would update the max running limit of the 
specified type task as specified limit count.

 
 


was (Author: smarthan):
Upload patch for hadoop 3.2.0.

It enable us to set limit for running tasks when job is running by mapred 
client command:
{code:bash}
mapred job -set-running-task-limit JOB_ID TASK_TYPE LIMIT

e.g.
   mapred job -set-running-task-limit job_1583809537551_21297 MAP 100
   mapred job -set-running-task-limit job_1583809537551_21297 REDUCE 100
{code}
it send a rpc resquest to AM, and AM would update the max running limit of the 
specified type task as specified limit count.

 

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-05-26 Thread Chengwei Wang (Jira)


[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17116482#comment-17116482
 ] 

Chengwei Wang commented on MAPREDUCE-7274:
--

upload patch for trunk.

[^MAPREDUCE-7274.patch]

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0-v2.patch, 
> MAPREDUCE-7274-branch-3.2.0.patch, MAPREDUCE-7274.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-05-26 Thread Chengwei Wang (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chengwei Wang updated MAPREDUCE-7274:
-
Attachment: MAPREDUCE-7274.patch

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0-v2.patch, 
> MAPREDUCE-7274-branch-3.2.0.patch, MAPREDUCE-7274.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-05-26 Thread Chengwei Wang (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chengwei Wang updated MAPREDUCE-7274:
-
Target Version/s:   (was: 3.2.0)

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0-v2.patch, 
> MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-05-26 Thread Chengwei Wang (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chengwei Wang updated MAPREDUCE-7274:
-
Affects Version/s: (was: 3.2.0)

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0-v2.patch, 
> MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Comment Edited] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-04-29 Thread Chengwei Wang (Jira)


[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17095254#comment-17095254
 ] 

Chengwei Wang edited comment on MAPREDUCE-7274 at 4/29/20, 11:10 AM:
-

Upload patch v2.

Add unit test, modify some improper naming and fix the patch does not apply to 
branch-3.2.0.


was (Author: smarthan):
Upload patch v2.

Add unit test and modify some improper naming.

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Affects Versions: 3.2.0
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0-v2.patch, 
> MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-04-29 Thread Chengwei Wang (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chengwei Wang updated MAPREDUCE-7274:
-
Attachment: MAPREDUCE-7274-branch-3.2.0-v2.patch

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Affects Versions: 3.2.0
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0-v2.patch, 
> MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-04-29 Thread Chengwei Wang (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chengwei Wang updated MAPREDUCE-7274:
-
Attachment: (was: MAPREDUCE-7274-branch-3.2.0-v2.patch)

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Affects Versions: 3.2.0
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-04-29 Thread Chengwei Wang (Jira)


[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17095254#comment-17095254
 ] 

Chengwei Wang commented on MAPREDUCE-7274:
--

Upload patch v2.

Add unit test and modify some improper naming.

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Affects Versions: 3.2.0
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0-v2.patch, 
> MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-04-29 Thread Chengwei Wang (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chengwei Wang updated MAPREDUCE-7274:
-
Attachment: MAPREDUCE-7274-branch-3.2.0-v2.patch

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Affects Versions: 3.2.0
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0-v2.patch, 
> MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-04-22 Thread Chengwei Wang (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chengwei Wang updated MAPREDUCE-7274:
-
   Attachment: MAPREDUCE-7274-branch-3.2.0.patch
 Target Version/s: 3.2.0
Affects Version/s: 3.2.0
   Status: Patch Available  (was: Open)

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Affects Versions: 3.2.0
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-04-22 Thread Chengwei Wang (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chengwei Wang updated MAPREDUCE-7274:
-
Attachment: (was: MAPREDUCE-7274-branch-3.2.0.patch)

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Comment Edited] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-04-22 Thread Chengwei Wang (Jira)


[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084662#comment-17084662
 ] 

Chengwei Wang edited comment on MAPREDUCE-7274 at 4/23/20, 2:55 AM:


Upload patch for hadoop 3.2.0.

It enable us to set limit for running tasks when job is running by mapred 
client command:
{code:bash}
mapred job -set-running-task-limit JOB_ID TASK_TYPE LIMIT

e.g.
   mapred job -set-running-task-limit job_1583809537551_21297 MAP 100
   mapred job -set-running-task-limit job_1583809537551_21297 REDUCE 100
{code}
it send a rpc resquest to AM, and AM would update the max running limit of the 
specified type task as specified limit count.

 


was (Author: smarthan):
Upload patch for hadoop 3.2.0.

It enable us to set  task running limit when job is running by mapred client 
command:
{code:bash}
mapred job -set-running-task-limit JOB_ID TASK_TYPE LIMIT

e.g.
   mapred job -set-running-task-limit job_1583809537551_21297 MAP 100
   mapred job -set-running-task-limit job_1583809537551_21297 REDUCE 100
{code}
it send a rpc resquest to AM, and AM would update the max running limit of the 
specified type task as specified limit count.

 

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7274) Enable to limit running map and reduce tasks when job is running

2020-04-22 Thread Chengwei Wang (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chengwei Wang updated MAPREDUCE-7274:
-
Summary: Enable to limit running map and reduce tasks when job is running  
(was: Enable to set running task limit when job is running)

> Enable to limit running map and reduce tasks when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7274) Enable to set running task limit when job is running

2020-04-22 Thread Chengwei Wang (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chengwei Wang updated MAPREDUCE-7274:
-
Summary: Enable to set running task limit when job is running  (was: Enable 
to set running task limit when mapreduce job is running)

> Enable to set running task limit when job is running
> 
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (MAPREDUCE-7274) Enable to set running task limit when mapreduce job is running

2020-04-16 Thread Chengwei Wang (Jira)


[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084968#comment-17084968
 ] 

Chengwei Wang commented on MAPREDUCE-7274:
--

Hi [~jlowe]  [~acmurthy]  [~junping_du] Could you have time to review this 
patch? Thank you .

> Enable to set running task limit when mapreduce job is running
> --
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Issue Comment Deleted] (MAPREDUCE-7274) Enable to set running task limit when mapreduce job is running

2020-04-16 Thread Chengwei Wang (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chengwei Wang updated MAPREDUCE-7274:
-
Comment: was deleted

(was: I would upload a patch  for hadoop 2.x or 3.2.0 if needed.)

> Enable to set running task limit when mapreduce job is running
> --
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Comment Edited] (MAPREDUCE-7274) Enable to set running task limit when mapreduce job is running

2020-04-16 Thread Chengwei Wang (Jira)


[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084662#comment-17084662
 ] 

Chengwei Wang edited comment on MAPREDUCE-7274 at 4/16/20, 3:01 PM:


Upload patch for hadoop 3.2.0.

It enable us to set  task running limit when job is running by mapred client 
command:
{code:bash}
mapred job -set-running-task-limit JOB_ID TASK_TYPE LIMIT

e.g.
   mapred job -set-running-task-limit job_1583809537551_21297 MAP 100
   mapred job -set-running-task-limit job_1583809537551_21297 REDUCE 100
{code}
it send a rpc resquest to AM, and AM would update the max running limit of the 
specified type task as specified limit count.

 


was (Author: smarthan):
Upload patch for hadoop 3.2.0.

It enable us to set  task running limit when job is running by mapred client 
command:
{code:bash}
   mapred job -set-running-task-limit JOB_ID TASK_TYPE LIMIT

   e.g.
   mapred job -set-running-task-limit job_1583809537551_21297 MAP 100
   mapred job -set-running-task-limit job_1583809537551_21297 REDUCE 100
{code}
it send a rpc resquest to AM, and AM would update the max running limit of the 
specified type task as specified limit count.

 

> Enable to set running task limit when mapreduce job is running
> --
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7274) Enable to set running task limit when mapreduce job is running

2020-04-16 Thread Chengwei Wang (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chengwei Wang updated MAPREDUCE-7274:
-
Description: MRv2 enabled users to control the number of map or reduce 
tasks running simultaneously by configuration  
*_mapreduce.job.running.map.limit_* or _*mapreduce.job.running.reduce.limit*._ 
But users can only set limit number before submitting the job to rm. So, it's 
meaningful  to enable users to set the limit of running map or reduce tasks 
when job is running, which can help users to restrict  resource usage of job 
and give resources to high-priority job.  (was: MRv2 enabled users to control 
the number of map or reduce tasks running simultaneously by configuration  
_mapreduce.job.running.map.limit_ or _mapreduce.job.running.reduce.limit._ But 
users can only set limit number before submitting the job to rm. So, it's 
meaningful  to enable users to set the limit of running map or reduce tasks 
when job is running, which can help users to restrict  resource usage of job 
and give resources to high-priority job.)

> Enable to set running task limit when mapreduce job is running
> --
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  *_mapreduce.job.running.map.limit_* or 
> _*mapreduce.job.running.reduce.limit*._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Comment Edited] (MAPREDUCE-7274) Enable to set running task limit when mapreduce job is running

2020-04-16 Thread Chengwei Wang (Jira)


[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084662#comment-17084662
 ] 

Chengwei Wang edited comment on MAPREDUCE-7274 at 4/16/20, 11:15 AM:
-

Upload patch for hadoop 3.2.0.

It enable us to set  task running limit when job is running by mapred client 
command:
{code:bash}
   mapred job -set-running-task-limit JOB_ID TASK_TYPE LIMIT

   e.g.
   mapred job -set-running-task-limit job_1583809537551_21297 MAP 100
   mapred job -set-running-task-limit job_1583809537551_21297 REDUCE 100
{code}
it send a rpc resquest to AM, and AM would update the max running limit of the 
specified type task as specified limit count.

 


was (Author: smarthan):
Upload patch for hadoop 3.2.0.

It enable us to set  task running limit when job is running by mapred client 
command:
{code:bash}

   mapred job -set-running-task-limit JOB_ID TASK_TYPE LIMIT

e.g.
   mapred job -set-running-task-limit job_1583809537551_21297 MAP 100
   mapred job -set-running-task-limit job_1583809537551_21297 REDUCE 100
{code}
This command would send a rpc resquest to AM, and AM would update the max 
running limit of the specified type task as specified limit count.

 

> Enable to set running task limit when mapreduce job is running
> --
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  _mapreduce.job.running.map.limit_ or 
> _mapreduce.job.running.reduce.limit._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7274) Enable to set running task limit when mapreduce job is running

2020-04-16 Thread Chengwei Wang (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chengwei Wang updated MAPREDUCE-7274:
-
Component/s: mrv2
 mr-am

> Enable to set running task limit when mapreduce job is running
> --
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>  Components: mr-am, mrv2
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  _mapreduce.job.running.map.limit_ or 
> _mapreduce.job.running.reduce.limit._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (MAPREDUCE-7274) Enable to set running task limit when mapreduce job is running

2020-04-16 Thread Chengwei Wang (Jira)


[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084662#comment-17084662
 ] 

Chengwei Wang commented on MAPREDUCE-7274:
--

Upload patch for hadoop 3.2.0.

It enable us to set  task running limit when job is running by mapred client 
command:
{code:bash}

   mapred job -set-running-task-limit JOB_ID TASK_TYPE LIMIT

e.g.
   mapred job -set-running-task-limit job_1583809537551_21297 MAP 100
   mapred job -set-running-task-limit job_1583809537551_21297 REDUCE 100
{code}
This command would send a rpc resquest to AM, and AM would update the max 
running limit of the specified type task as specified limit count.

 

> Enable to set running task limit when mapreduce job is running
> --
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  _mapreduce.job.running.map.limit_ or 
> _mapreduce.job.running.reduce.limit._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Comment Edited] (MAPREDUCE-7274) Enable to set running task limit when mapreduce job is running

2020-04-16 Thread Chengwei Wang (Jira)


[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084199#comment-17084199
 ] 

Chengwei Wang edited comment on MAPREDUCE-7274 at 4/16/20, 8:04 AM:


I would upload a patch  for hadoop 2.x or 3.2.0 if needed.


was (Author: smarthan):
I would upload a patch  for hadoop 2.x or 3.2.0 if needed.
  
 

> Enable to set running task limit when mapreduce job is running
> --
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  _mapreduce.job.running.map.limit_ or 
> _mapreduce.job.running.reduce.limit._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Comment Edited] (MAPREDUCE-7274) Enable to set running task limit when mapreduce job is running

2020-04-16 Thread Chengwei Wang (Jira)


[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084199#comment-17084199
 ] 

Chengwei Wang edited comment on MAPREDUCE-7274 at 4/16/20, 8:03 AM:


I would upload a patch  for hadoop 2.x or 3.2.0 if needed.
  
 


was (Author: smarthan):
I would upload a patch  based on hadoop 2.x if needed.
 

> Enable to set running task limit when mapreduce job is running
> --
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  _mapreduce.job.running.map.limit_ or 
> _mapreduce.job.running.reduce.limit._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7274) Enable to set running task limit when mapreduce job is running

2020-04-16 Thread Chengwei Wang (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chengwei Wang updated MAPREDUCE-7274:
-
Attachment: MAPREDUCE-7274-branch-3.2.0.patch

> Enable to set running task limit when mapreduce job is running
> --
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>Reporter: Chengwei Wang
>Priority: Major
> Attachments: MAPREDUCE-7274-branch-3.2.0.patch
>
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  _mapreduce.job.running.map.limit_ or 
> _mapreduce.job.running.reduce.limit._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Commented] (MAPREDUCE-7274) Enable to set running task limit when mapreduce job is running

2020-04-15 Thread Chengwei Wang (Jira)


[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17084199#comment-17084199
 ] 

Chengwei Wang commented on MAPREDUCE-7274:
--

I would upload a patch  based on hadoop 2.x if needed.
 

> Enable to set running task limit when mapreduce job is running
> --
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>Reporter: Chengwei Wang
>Priority: Major
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  _mapreduce.job.running.map.limit_ or 
> _mapreduce.job.running.reduce.limit._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (MAPREDUCE-7274) Enable to set running task limit when mapreduce job is running

2020-04-15 Thread Chengwei Wang (Jira)


 [ 
https://issues.apache.org/jira/browse/MAPREDUCE-7274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chengwei Wang updated MAPREDUCE-7274:
-
Description: MRv2 enabled users to control the number of map or reduce 
tasks running simultaneously by configuration  
_mapreduce.job.running.map.limit_ or _mapreduce.job.running.reduce.limit._ But 
users can only set limit number before submitting the job to rm. So, it's 
meaningful  to enable users to set the limit of running map or reduce tasks 
when job is running, which can help users to restrict  resource usage of job 
and give resources to high-priority job.  (was: MRv2 enabled users to control 
the number of map or reduce tasks running simultaneously by configuration  
_mapreduce.job.running.map.limit_ or _mapreduce.job.running.reduce.limit._ But 
users can only set limit number before submitting the job to rm. So, it's 
meaningful  to enable users to set the limit of running map or reduce __ tasks, 
which can help users to restrict  resource usage of job and give resources to 
high-priority job.)

> Enable to set running task limit when mapreduce job is running
> --
>
> Key: MAPREDUCE-7274
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
> Project: Hadoop Map/Reduce
>  Issue Type: New Feature
>Reporter: Chengwei Wang
>Priority: Major
>
> MRv2 enabled users to control the number of map or reduce tasks running 
> simultaneously by configuration  _mapreduce.job.running.map.limit_ or 
> _mapreduce.job.running.reduce.limit._ But users can only set limit number 
> before submitting the job to rm. So, it's meaningful  to enable users to set 
> the limit of running map or reduce tasks when job is running, which can help 
> users to restrict  resource usage of job and give resources to high-priority 
> job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Created] (MAPREDUCE-7274) Enable to set running task limit when mapreduce job is running

2020-04-15 Thread Chengwei Wang (Jira)
Chengwei Wang created MAPREDUCE-7274:


 Summary: Enable to set running task limit when mapreduce job is 
running
 Key: MAPREDUCE-7274
 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7274
 Project: Hadoop Map/Reduce
  Issue Type: New Feature
Reporter: Chengwei Wang


MRv2 enabled users to control the number of map or reduce tasks running 
simultaneously by configuration  _mapreduce.job.running.map.limit_ or 
_mapreduce.job.running.reduce.limit._ But users can only set limit number 
before submitting the job to rm. So, it's meaningful  to enable users to set 
the limit of running map or reduce __ tasks, which can help users to restrict  
resource usage of job and give resources to high-priority job.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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