You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/02 14:52:58 UTC
[jira] [Commented] (METRON-410) mysql_server's MySQL install causes
mutually assured destruction when installed on the same machine as the
Ambari Hive MySQL
[ https://issues.apache.org/jira/browse/METRON-410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15629191#comment-15629191 ]
ASF GitHub Bot commented on METRON-410:
---------------------------------------
Github user justinleet commented on a diff in the pull request:
https://github.com/apache/incubator-metron/pull/317#discussion_r86159297
--- Diff: metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/0.2.1BETA/package/scripts/params/params_linux.py ---
@@ -119,16 +119,21 @@
mysql_configname = '/etc/my.cnf'
daemon_name = status_params.daemon_name
+
+install_mysql = config['configurations']['metron-env']['install_mysql']
+mysql_admin_password = config['configurations']['metron-env']['mysql_admin_password']
+
# There will always be exactly one mysql_host
mysql_host = config['clusterHostInfo']['metron_enrichment_mysql_server_hosts'][0]
+
mysql_port = config['configurations']['metron-env']['metron_enrichment_db_port']
mysql_adduser_path = tmp_dir + "/addMysqlUser.sh"
mysql_deluser_path = tmp_dir + "/removeMysqlUser.sh"
mysql_create_geoip_path = tmp_dir + "/createMysqlGeoIp.sh"
-enrichment_hosts = default("/clusterHostInfo/enrichment_host", [])
-enrichment_host = enrichment_hosts[0] if len(enrichment_hosts) > 0 else None
+#enrichment_hosts = default("/clusterHostInfo/enrichment_host", [])
--- End diff --
Doesn't seem like there's a reason to keep these comments around. Can we just delete them?
> mysql_server's MySQL install causes mutually assured destruction when installed on the same machine as the Ambari Hive MySQL
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: METRON-410
> URL: https://issues.apache.org/jira/browse/METRON-410
> Project: Metron
> Issue Type: Sub-task
> Reporter: Jon Zeolla
> Assignee: David M. Lyle
> Priority: Minor
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Metron's mysql_server MySQL install causes mutually assured destruction when installed on the same machine as the Ambari Hive MySQL. Here is the startup error you get afterwards.
> https://gist.github.com/JonZeolla/2ed4161c141ba32a3e8a0d6ce9718779
> In the short term, maybe add a check so they won't live on the same box. Long term, allow them to coexist?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)