Github user justinleet commented on a diff in the pull request:
https://github.com/apache/metron/pull/757#discussion_r139813301
--- Diff:
metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/scripts/rest_commands.py
---
@@ -58,17 +74,94 @@ def init_kafka_acls(self):
def start_rest_application(self):
Logger.info('Starting REST application')
- command = format("service metron-rest start
{metron_jdbc_password!p}")
- Execute(command)
+
+ # Build the spring options
+ # the vagrant Spring profile provides configuration values,
otherwise configuration is provided by rest_application.yml
+ metron_spring_options = format(" --server.port={metron_rest_port}")
--- End diff --
@merrimanr So I tried doing this, but the problem is that if the Java
command gets kicked up from a script, the Java command ends up showing up on in
ps, which then goes and gives up spring.datasource.password. Which is
incredibly annoying.
Unless you have any ideas on how to get around that, I think we're stuck in
Ambari
---