METRON-1777: Fix Elasticsearch X-Pack sample pom in documentation (mmiklavc via mmiklavc) closes apache/metron#1196
Project: http://git-wip-us.apache.org/repos/asf/metron/repo Commit: http://git-wip-us.apache.org/repos/asf/metron/commit/8b2f297f Tree: http://git-wip-us.apache.org/repos/asf/metron/tree/8b2f297f Diff: http://git-wip-us.apache.org/repos/asf/metron/diff/8b2f297f Branch: refs/heads/feature/METRON-1090-stellar-assignment Commit: 8b2f297fb58df1c2f01fa34a9d2ed5ccd183a7ce Parents: 02a1280 Author: mmiklavc <michael.miklav...@gmail.com> Authored: Tue Sep 18 08:55:45 2018 -0600 Committer: Michael Miklavcic <michael.miklav...@gmail.com> Committed: Tue Sep 18 08:55:45 2018 -0600 ---------------------------------------------------------------------- metron-deployment/Kerberos-manual-setup.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/metron/blob/8b2f297f/metron-deployment/Kerberos-manual-setup.md ---------------------------------------------------------------------- diff --git a/metron-deployment/Kerberos-manual-setup.md b/metron-deployment/Kerberos-manual-setup.md index d34a62a..4bd4516 100644 --- a/metron-deployment/Kerberos-manual-setup.md +++ b/metron-deployment/Kerberos-manual-setup.md @@ -30,7 +30,7 @@ This document provides instructions for kerberizing Metron's Vagrant-based devel * [Start Metron](#start-metron) * [Push Data](#push-data) * [More Information](#more-information) -* [Elasticseach X-Pack](#x-pack) +* [Elasticseach X-Pack](#X-Pack) Setup ----- @@ -568,7 +568,7 @@ X-Pack Add the `es.client.settings` to global.json ``` - /usr/metron/0.6.0/config/zookeeper/global.json -> + $METRON_HOME/config/zookeeper/global.json -> "es.client.settings" : { "es.client.class" : "org.elasticsearch.xpack.client.PreBuiltXPackTransportClient", @@ -650,10 +650,6 @@ X-Pack <groupId>log4j</groupId> <artifactId>log4j</artifactId> </exclusion> - <exclusion> <!-- this is causing a weird build error if not excluded - Error creating shaded jar: null: IllegalArgumentException --> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-api</artifactId> - </exclusion> </exclusions> </dependency> </dependencies> @@ -662,7 +658,7 @@ X-Pack <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> - <version>2.4.3</version> + <version>3.2.0</version> <configuration> <createDependencyReducedPom>true</createDependencyReducedPom> </configuration> @@ -728,7 +724,8 @@ X-Pack 1. Once you've built the `elasticsearch-xpack-shaded-5.6.2.jar`, it needs to be made available to Storm when you submit the topology. Create a contrib directory for indexing and put the jar file in this directory. ``` - /usr/metron/0.6.0/indexing_contrib/elasticsearch-xpack-shaded-5.6.2.jar + mkdir $METRON_HOME/indexing_contrib + cp elasticsearch-xpack-shaded-5.6.2.jar $METRON_HOME/indexing_contrib/elasticsearch-xpack-shaded-5.6.2.jar ``` 1. Now you can restart the Elasticsearch topology. Note, you should perform this step manually, as follows.