----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34834/#review85835 -----------------------------------------------------------
Also, you will need to change the following to not call EnsureServiceIsStarted but to check if service has started. ambari/ambari-metrics/ambari-metrics-timelineservice/src/main/python/amc_service.py def ensure_hdp_service_soft_dependencies(): ret = WinServiceController.EnsureServiceIsStarted(EMBEDDED_HBASE_MASTER_SERVICE) if ret != 0: err = 'ERROR: Cannot start service "{0}". Error = {1}'.format(EMBEDDED_HBASE_MASTER_SERVICE, ret) raise FatalException(1, err) - Jayush Luniya On May 29, 2015, 10:31 p.m., Artem Baranchuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/34834/ > ----------------------------------------------------------- > > (Updated May 29, 2015, 10:31 p.m.) > > > Review request for Ambari, Florian Barca and Jayush Luniya. > > > Bugs: AMBARI-11550 > https://issues.apache.org/jira/browse/AMBARI-11550 > > > Repository: ambari > > > Description > ------- > > [WinTP2] AMS Metrics Collector service cannot start Embedded HBASE service > under "hadoop" credentials > > > Diffs > ----- > > > ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams_service.py > 9252e19 > > ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py > 6ffe0e6 > > Diff: https://reviews.apache.org/r/34834/diff/ > > > Testing > ------- > > Tested manually! > Cluster with AMS installed success! > > > Thanks, > > Artem Baranchuk > >