This is an automated email from the ASF dual-hosted git repository.

oleewere pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 35f6d16  AMBARI-23945. Get Logfeeder hosts for migrationHelper.py to 
upgrade Logfeeders
35f6d16 is described below

commit 35f6d16fccce5eebac5a1dfbc1147b84ffa5cec7
Author: Oliver Szabo <[email protected]>
AuthorDate: Wed Jun 20 12:46:55 2018 +0200

    AMBARI-23945. Get Logfeeder hosts for migrationHelper.py to upgrade 
Logfeeders
---
 .../ambari-infra-solr-client/src/main/python/migrationHelper.py         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/ambari-infra/ambari-infra-solr-client/src/main/python/migrationHelper.py 
b/ambari-infra/ambari-infra-solr-client/src/main/python/migrationHelper.py
index f3e0c44..2832691 100755
--- a/ambari-infra/ambari-infra-solr-client/src/main/python/migrationHelper.py
+++ b/ambari-infra/ambari-infra-solr-client/src/main/python/migrationHelper.py
@@ -514,7 +514,7 @@ def upgrade_logfeeders(options, accessor, parser, config):
   Upgrade (remove & re-install) logfeeders
   """
   cluster = config.get('ambari_server', 'cluster')
-  logfeeder_hosts = get_service_components(options, accessor, cluster, 
"LOGSEARCH", "LOGSEARCH_SERVER")
+  logfeeder_hosts = get_service_components(options, accessor, cluster, 
"LOGSEARCH", "LOGSEARCH_LOGFEEDER")
 
   context = "Upgrade Log Feeders"
   sys.stdout.write("Sending upgrade request: [{0}] ".format(context))

Reply via email to