> On Oct. 5, 2017, 10:26 a.m., Dmitro Lisnichenko wrote:
> > ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
> > Lines 478 (patched)
> > <https://reviews.apache.org/r/62785/diff/1/?file=1846548#file1846548line478>
> >
> >     what does 0.35/0.09 mean here? Would it play well for big/small numbers 
> > of tasks?

It means that their respective status contribute 9% and 35% to the total 
progress.  It's weak, but it's how CalculatedStatus does it too.


- Nate


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


On Oct. 5, 2017, 9:01 a.m., Nate Cole wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62785/
> -----------------------------------------------------------
> 
> (Updated Oct. 5, 2017, 9:01 a.m.)
> 
> 
> Review request for Ambari, Dmitro Lisnichenko and Jonathan Hurley.
> 
> 
> Bugs: AMBARI-22144
>     https://issues.apache.org/jira/browse/AMBARI-22144
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> When performing an upgrade, hitting pause jumps your progress right to 100%.  
>   So if you're at 63%, as soon as you hit Pause it goes to 100%.  As soon as 
> you hit "Resume", it will go back to 63%.
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
>  a28fb02f52 
>   
> ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UpgradeResourceProviderTest.java
>  7b9307854a 
> 
> 
> Diff: https://reviews.apache.org/r/62785/diff/1/
> 
> 
> Testing
> -------
> 
> Manual.  Unit tests pending.
> 
> 
> Thanks,
> 
> Nate Cole
> 
>

Reply via email to