You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Anita Jebaraj <aj...@us.ibm.com> on 2017/03/16 22:40:38 UTC

Review Request 57709: Yarn Queue manager capacity field allows entering invalid values

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57709/
-----------------------------------------------------------

Review request for Ambari, belliraj hb, Di Li, DIPAYAN BHOWMICK, and Sangeeta Ravindran.


Bugs: AMBARI-20334
    https://issues.apache.org/jira/browse/AMBARI-20334


Repository: ambari


Description
-------

capacity field in yarn queue manager should allow entering decimal numbers upto 2 places,

currently the field allows entering values like

1.2.3
12...
1 2.3


Diffs
-----

  contrib/views/capacity-scheduler/src/main/resources/ui/app/components/capacityInput.js b6c419a 


Diff: https://reviews.apache.org/r/57709/diff/1/


Testing
-------

Tested manually


Thanks,

Anita Jebaraj


Re: Review Request 57709: Yarn Queue manager capacity field allows entering invalid values

Posted by Alejandro Fernandez <af...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57709/#review170197
-----------------------------------------------------------




contrib/views/capacity-scheduler/src/main/resources/ui/app/components/capacityInput.js
Lines 260 (patched)
<https://reviews.apache.org/r/57709/#comment242978>

    Please include Jaimin Jetly and Richard Zhang in the code review.


- Alejandro Fernandez


On March 21, 2017, 5:15 p.m., Anita Jebaraj wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57709/
> -----------------------------------------------------------
> 
> (Updated March 21, 2017, 5:15 p.m.)
> 
> 
> Review request for Ambari, belliraj hb, Di Li, DIPAYAN BHOWMICK, and Sangeeta Ravindran.
> 
> 
> Bugs: AMBARI-20334
>     https://issues.apache.org/jira/browse/AMBARI-20334
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> capacity field in yarn queue manager should allow entering decimal numbers upto 2 places,
> 
> currently the field allows entering values like
> 
> 1.2.3
> 12...
> 1 2.3
> 
> 
> Diffs
> -----
> 
>   contrib/views/capacity-scheduler/src/main/resources/ui/app/components/capacityInput.js b6c419a 
> 
> 
> Diff: https://reviews.apache.org/r/57709/diff/2/
> 
> 
> Testing
> -------
> 
> Tested manually
> 
> 
> Thanks,
> 
> Anita Jebaraj
> 
>


Re: Review Request 57709: Yarn Queue manager capacity field allows entering invalid values

Posted by Anita Jebaraj <aj...@us.ibm.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57709/
-----------------------------------------------------------

(Updated March 21, 2017, 5:15 p.m.)


Review request for Ambari, belliraj hb, Di Li, DIPAYAN BHOWMICK, and Sangeeta Ravindran.


Bugs: AMBARI-20334
    https://issues.apache.org/jira/browse/AMBARI-20334


Repository: ambari


Description
-------

capacity field in yarn queue manager should allow entering decimal numbers upto 2 places,

currently the field allows entering values like

1.2.3
12...
1 2.3


Diffs (updated)
-----

  contrib/views/capacity-scheduler/src/main/resources/ui/app/components/capacityInput.js b6c419a 


Diff: https://reviews.apache.org/r/57709/diff/2/

Changes: https://reviews.apache.org/r/57709/diff/1-2/


Testing
-------

Tested manually


Thanks,

Anita Jebaraj


Re: Review Request 57709: Yarn Queue manager capacity field allows entering invalid values

Posted by Sangeeta Ravindran <sa...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57709/#review169575
-----------------------------------------------------------


Ship it!




Ship It!

- Sangeeta Ravindran


On March 16, 2017, 10:40 p.m., Anita Jebaraj wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57709/
> -----------------------------------------------------------
> 
> (Updated March 16, 2017, 10:40 p.m.)
> 
> 
> Review request for Ambari, belliraj hb, Di Li, DIPAYAN BHOWMICK, and Sangeeta Ravindran.
> 
> 
> Bugs: AMBARI-20334
>     https://issues.apache.org/jira/browse/AMBARI-20334
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> capacity field in yarn queue manager should allow entering decimal numbers upto 2 places,
> 
> currently the field allows entering values like
> 
> 1.2.3
> 12...
> 1 2.3
> 
> 
> Diffs
> -----
> 
>   contrib/views/capacity-scheduler/src/main/resources/ui/app/components/capacityInput.js b6c419a 
> 
> 
> Diff: https://reviews.apache.org/r/57709/diff/1/
> 
> 
> Testing
> -------
> 
> Tested manually
> 
> 
> Thanks,
> 
> Anita Jebaraj
> 
>


Re: Review Request 57709: Yarn Queue manager capacity field allows entering invalid values

Posted by Anita Jebaraj <aj...@us.ibm.com>.

> On March 21, 2017, 4:54 p.m., Alejandro Fernandez wrote:
> > contrib/views/capacity-scheduler/src/main/resources/ui/app/components/capacityInput.js
> > Line 260 (original), 260 (patched)
> > <https://reviews.apache.org/r/57709/diff/1/?file=1666450#file1666450line260>
> >
> >     Good practice to always use braces.

I have fixed it in the updated patch


- Anita


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57709/#review169577
-----------------------------------------------------------


On March 21, 2017, 5:15 p.m., Anita Jebaraj wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57709/
> -----------------------------------------------------------
> 
> (Updated March 21, 2017, 5:15 p.m.)
> 
> 
> Review request for Ambari, belliraj hb, Di Li, DIPAYAN BHOWMICK, and Sangeeta Ravindran.
> 
> 
> Bugs: AMBARI-20334
>     https://issues.apache.org/jira/browse/AMBARI-20334
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> capacity field in yarn queue manager should allow entering decimal numbers upto 2 places,
> 
> currently the field allows entering values like
> 
> 1.2.3
> 12...
> 1 2.3
> 
> 
> Diffs
> -----
> 
>   contrib/views/capacity-scheduler/src/main/resources/ui/app/components/capacityInput.js b6c419a 
> 
> 
> Diff: https://reviews.apache.org/r/57709/diff/2/
> 
> 
> Testing
> -------
> 
> Tested manually
> 
> 
> Thanks,
> 
> Anita Jebaraj
> 
>


Re: Review Request 57709: Yarn Queue manager capacity field allows entering invalid values

Posted by Alejandro Fernandez <af...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57709/#review169577
-----------------------------------------------------------




contrib/views/capacity-scheduler/src/main/resources/ui/app/components/capacityInput.js
Line 260 (original), 260 (patched)
<https://reviews.apache.org/r/57709/#comment241987>

    Good practice to always use braces.


- Alejandro Fernandez


On March 16, 2017, 10:40 p.m., Anita Jebaraj wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57709/
> -----------------------------------------------------------
> 
> (Updated March 16, 2017, 10:40 p.m.)
> 
> 
> Review request for Ambari, belliraj hb, Di Li, DIPAYAN BHOWMICK, and Sangeeta Ravindran.
> 
> 
> Bugs: AMBARI-20334
>     https://issues.apache.org/jira/browse/AMBARI-20334
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> capacity field in yarn queue manager should allow entering decimal numbers upto 2 places,
> 
> currently the field allows entering values like
> 
> 1.2.3
> 12...
> 1 2.3
> 
> 
> Diffs
> -----
> 
>   contrib/views/capacity-scheduler/src/main/resources/ui/app/components/capacityInput.js b6c419a 
> 
> 
> Diff: https://reviews.apache.org/r/57709/diff/1/
> 
> 
> Testing
> -------
> 
> Tested manually
> 
> 
> Thanks,
> 
> Anita Jebaraj
> 
>


Re: Review Request 57709: Yarn Queue manager capacity field allows entering invalid values

Posted by Di Li <di...@ca.ibm.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57709/#review169286
-----------------------------------------------------------


Ship it!




Ship It!

- Di Li


On March 16, 2017, 10:40 p.m., Anita Jebaraj wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57709/
> -----------------------------------------------------------
> 
> (Updated March 16, 2017, 10:40 p.m.)
> 
> 
> Review request for Ambari, belliraj hb, Di Li, DIPAYAN BHOWMICK, and Sangeeta Ravindran.
> 
> 
> Bugs: AMBARI-20334
>     https://issues.apache.org/jira/browse/AMBARI-20334
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> capacity field in yarn queue manager should allow entering decimal numbers upto 2 places,
> 
> currently the field allows entering values like
> 
> 1.2.3
> 12...
> 1 2.3
> 
> 
> Diffs
> -----
> 
>   contrib/views/capacity-scheduler/src/main/resources/ui/app/components/capacityInput.js b6c419a 
> 
> 
> Diff: https://reviews.apache.org/r/57709/diff/1/
> 
> 
> Testing
> -------
> 
> Tested manually
> 
> 
> Thanks,
> 
> Anita Jebaraj
> 
>