You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Casey Stella (JIRA)" <ji...@apache.org> on 2017/01/26 23:12:24 UTC
[jira] [Updated] (METRON-642) Fix ElasticSearch Mpack issues in
Metron
[ https://issues.apache.org/jira/browse/METRON-642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Casey Stella updated METRON-642:
--------------------------------
Fix Version/s: 0.3.1
> 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
> Fix For: 0.3.1
>
>
> ==== 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 ====
> ==== Third ====
> After ES install it will fail to start with error"
> {code}
> Likely root cause: java.nio.file.AccessDeniedException: /etc/elasticsearch/scripts
> {code}
> The reason for the is root permission on these files:
> {code}
> # ls -la /etc/elasticsearch
> ...
> -rwxr-x---. 1 root elasticsearch 2571 May 12 09:24 logging.yml
> drwxr-x---. 2 root elasticsearch 4096 May 17 11:49 scripts
> {code}
> I was not able to trace down origin of these files, so do not know how to fix it.
> ==== Third ====
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)