Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
METRON-1834: Migrate Elasticsearch from TransportClient to new Java R…
Browse files Browse the repository at this point in the history
…EST API (mmiklavc via mmiklavc) closes #1242
  • Loading branch information
mmiklavc committed Nov 15, 2018
1 parent e7e19fb commit 8bf3b6e
Show file tree
Hide file tree
Showing 266 changed files with 38,926 additions and 19,779 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -16,6 +16,7 @@ target/
*.tmp
*.bak
*.class
*.pyc

tmp/**
tmp/**/*
Expand Down
24 changes: 24 additions & 0 deletions Upgrading.md
Expand Up @@ -19,6 +19,30 @@ limitations under the License.
This document constitutes a per-version listing of changes of
configuration which are non-backwards compatible.

## 0.6.0 to 0.6.1

### [METRON-1834: Migrate Elasticsearch from TransportClient to new Java REST API](https://issues.apache.org/jira/browse/METRON-1834)
The Elasticsearch Java client has now been migrated from TransportClient to the new Java REST client. The motivation for this change
is that TransportClient will be deprecated in Elasticsearch 7.0 and removed entirely in 8.0. See [ES Java API ](https://www.elastic.co/guide/en/elasticsearch/client/java-api/5.6/client.html) for more details.
The primary client-facing change for upgrades will be the new properties for configuring the new client. An explanation of the new properties
as well as a mapping from the old properties to the new can be found in [metron-elasticsearch](metron-platform/metron-elasticsearch/README.md#Properties) under `es.client.settings`.


### [METRON-1855: Make unified enrichment topology the default and deprecate split-join](https://issues.apache.org/jira/browse/METRON-1855)
The unified enrichment topology will be the new default in this release,
and the split-join enrichment topology is now considered deprecated.
If you wish to keep the deprecated split-join enrichment topology,
you will need to make the following changes:

* In Ambari > Metron > Config > Enrichment set the enrichment_topology setting to "Split-Join"
* If running `start_enrichment_topology.sh` manually, pass in the parameters to start the Split-Join topology as follows

```
$METRON_HOME/bin/start_enrichment_topology.sh --remote $METRON_HOME/flux/enrichment/remote-splitjoin.yaml --filter $METRON_HOME/config/enrichment-splitjoin.properties
```

* Restart the enrichment topology

## 0.4.2 to 0.5.0

### [METRON-941: native PaloAlto parser corrupts message when having a comma in the payload](https://issues.apache.org/jira/browse/METRON-941)
Expand Down
5 changes: 4 additions & 1 deletion dependencies_with_url.csv
Expand Up @@ -337,6 +337,8 @@ org.springframework:spring-web:jar:5.0.5.RELEASE:compile,The Apache Software Lic
org.springframework:spring-webmvc:jar:3.2.6.RELEASE:compile,The Apache Software License, Version 2.0,https://github.com/SpringSource/spring-framework
org.springframework:spring-webmvc:jar:4.3.3.RELEASE:compile,The Apache Software License, Version 2.0,https://github.com/spring-projects/spring-framework
org.springframework:spring-webmvc:jar:5.0.5.RELEASE:compile,The Apache Software License, Version 2.0,https://github.com/spring-projects/spring-framework
org.springframework.ldap:spring-ldap-core:jar:2.3.2.RELEASE:compile,ASLv2,https://spring.io/projects/spring-ldap
org.springframework.security:spring-security-ldap:jar:5.1.1.RELEASE:compile,ASLv2,https://spring.io/projects/spring-security
org.tukaani:xz:jar:1.0:compile,Public Domain,http://tukaani.org/xz/java.html
org.xerial.snappy:snappy-java:jar:1.0.4.1:compile,The Apache Software License, Version 2.0,http://code.google.com/p/snappy-java/
org.xerial.snappy:snappy-java:jar:1.1.1.7:compile,The Apache Software License, Version 2.0,https://github.com/xerial/snappy-java
Expand Down Expand Up @@ -484,5 +486,6 @@ org.sonatype.sisu:sisu-inject-bean:jar:2.2.2:compile
org.sonatype.sisu:sisu-inject-plexus:jar:2.2.2:compile
com.zaxxer:HikariCP:jar:2.7.8:compile,ASLv2,https://github.com/brettwooldridge/HikariCP
org.hibernate.validator:hibernate-validator:jar:6.0.9.Final:compile,ASLv2,https://github.com/hibernate/hibernate-validator
com.github.palindromicity:simple-syslog-5424:jar:0.0.8:compile,ASLv2,https://github.com/palindromicity/simple-syslog-5424
com.github.palindromicity:simple-syslog-5424:jar:0.0.9:compile,ASLv2,https://github.com/palindromicity/simple-syslog-5424
org.elasticsearch.client:elasticsearch-rest-high-level-client:jar:5.6.2:compile,ASLv2,https://github.com/elastic/elasticsearch/blob/master/LICENSE.txt
org.elasticsearch.plugin:aggs-matrix-stats-client:jar:5.6.2:compile,ASLv2,https://github.com/elastic/elasticsearch/blob/master/LICENSE.txt

0 comments on commit 8bf3b6e

Please sign in to comment.