----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/57092/#review166903 -----------------------------------------------------------
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/service.py (line 107) <https://reviews.apache.org/r/57092/#comment238993> The same change is needed in YARN 3.0.0.3.0 - Alejandro Fernandez On Feb. 27, 2017, 2:07 p.m., Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/57092/ > ----------------------------------------------------------- > > (Updated Feb. 27, 2017, 2:07 p.m.) > > > Review request for Ambari and Dmitro Lisnichenko. > > > Bugs: AMBARI-20210 > https://issues.apache.org/jira/browse/AMBARI-20210 > > > Repository: ambari > > > Description > ------- > > While yarn service is stopped, "refresh queue" call will trigger command to > post refresh call for the yarn with infinite amount of retry amount, which > blocks us queue processing. > > We should allow to kill this command after certain amount of time, to > implement fast fail feature. > > > Diffs > ----- > > ambari-common/src/main/python/resource_management/core/signal_utils.py > 1f0dfe7 > > ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/service.py > 03b66a5 > > Diff: https://reviews.apache.org/r/57092/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Andrew Onischuk > >