metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickwallen <>
Subject [GitHub] metron pull request #634: METRON-1017: Ambari components should be separate
Date Tue, 11 Jul 2017 13:28:05 GMT
Github user nickwallen commented on a diff in the pull request:
    --- Diff: metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/scripts/
    @@ -94,24 +96,24 @@ def init_hdfs_dir(self):
   'Done creating HDFS indexing directory')
         def start_indexing_topology(self):
    -"Starting Metron indexing topology: {0}".format(self.__indexing))
    +"Starting Metron indexing topology: {0}".format(self.__indexing_topology))
             start_cmd_template = """{0}/bin/ \
                                         -s {1} \
                                         -z {2}"""
    -'Starting ' + self.__indexing)
    +'Starting ' + self.__indexing_topology)
             if self.__params.security_enabled:
    -        Execute(start_cmd_template.format(self.__params.metron_home, self.__indexing,
    +        Execute(start_cmd_template.format(self.__params.metron_home, self.__indexing_topology,
   'Finished starting indexing topology')
         def stop_indexing_topology(self):
    -'Stopping ' + self.__indexing)
    -        stop_cmd = 'storm kill ' + self.__indexing
    +'Stopping ' + self.__indexing_topology)
    --- End diff --
    It looks like previously we were using the same variable to store the name of the Indexing
topology and topic name.  Good catch.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message