[ 
https://issues.apache.org/jira/browse/METRON-642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dima Kovalyov updated METRON-642:
---------------------------------
    Description: 
==== First ====
Currently in Metron Mpack es.ip in Metron configuration is set to: es_url.

Which is incorrect and will fail, instead it should be replaced with:
"es.ip": "<elasticsearch_master_hostname>",
"es.port": "9300", 

But I do not know how to get elasticsearch_master_hostname. Also, value of 
es.port seems like can be defaulted to es_binary_port or even omitted as it is 
already specified in es_binary_port.

This should be chanted in:
https://github.com/apache/incubator-metron/blob/master/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/configuration/metron-env.xml
On line 208.
==== First ====

==== Second ====
In file 
https://github.com/apache/incubator-metron/blob/master/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/ELASTICSEARCH/2.3.3/configuration/elastic-sysconfig.xml
On lines 93 and 95 symbols "/" is forgotten. e.g:
ES_JAVA_OPTS="-verbose:gc -Xloggc:{{log_dir}}/elasticsearch_gc.log 
-XX:-CMSConcurrentMTEnabled
should be:
ES_JAVA_OPTS="-verbose:gc -Xloggc:{{log_dir}}/elasticsearch_gc.log 
-XX:-CMSConcurrentMTEnabled
==== Second ====

  was:
Currently in Metron Mpack es.ip in Metron configuration is set to: es_url.

Which is incorrect and will fail, instead it should be replaced with:
"es.ip": "<elasticsearch_master_hostname>",
"es.port": "9300", 

But I do not know how to get elasticsearch_master_hostname. Also, value of 
es.port seems like can be defaulted to es_binary_port or even omitted as it is 
already specified in es_binary_port.

This should be chanted in:
https://github.com/apache/incubator-metron/blob/master/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/configuration/metron-env.xml
On line 208.


> Fix ElasticSearch Mpack issues in Metron
> ----------------------------------------
>
>                 Key: METRON-642
>                 URL: https://issues.apache.org/jira/browse/METRON-642
>             Project: Metron
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Dima Kovalyov
>            Priority: Minor
>
> ==== First ====
> Currently in Metron Mpack es.ip in Metron configuration is set to: es_url.
> Which is incorrect and will fail, instead it should be replaced with:
> "es.ip": "<elasticsearch_master_hostname>",
> "es.port": "9300", 
> But I do not know how to get elasticsearch_master_hostname. Also, value of 
> es.port seems like can be defaulted to es_binary_port or even omitted as it 
> is already specified in es_binary_port.
> This should be chanted in:
> https://github.com/apache/incubator-metron/blob/master/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/configuration/metron-env.xml
> On line 208.
> ==== First ====
> ==== Second ====
> In file 
> https://github.com/apache/incubator-metron/blob/master/metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/ELASTICSEARCH/2.3.3/configuration/elastic-sysconfig.xml
> On lines 93 and 95 symbols "/" is forgotten. e.g:
> ES_JAVA_OPTS="-verbose:gc -Xloggc:{{log_dir}}/elasticsearch_gc.log 
> -XX:-CMSConcurrentMTEnabled
> should be:
> ES_JAVA_OPTS="-verbose:gc -Xloggc:{{log_dir}}/elasticsearch_gc.log 
> -XX:-CMSConcurrentMTEnabled
> ==== Second ====



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to