4 Commits

Author SHA1 Message Date
Bernd Ahlers
d4be60c4cd Fix package name and use correct Java property value for log4j2 (#15144) 2023-04-05 13:39:01 +02:00
Bernd Ahlers
7817d7090b Add log4j.configurationFile property to data node arguments (#15123)
Also quote usages of DATANODE_ROOT to make it work with paths having
whitespace.
2023-04-03 15:15:46 +02:00
Bernd Ahlers
120fae5221 Refactor data-node download and assembly (#14963)
* Refactor data-node download and assembly

- Download OpenSearch aarch64 distribution in addition to x64
- Extract OpenSearch distribution into "target/opensearch/*" instead of
  "bin/download".
- Include OpenSearch distributions in "dist/" instead of "bin/" in
  assembly

* Fix data-node test container creation

* Adjust OpenSearch location for architecture dependent locations

* If the configured location exists, use it

Otherwise, check for architecture dependent distribution directories.

* Switch default config file to locations that work with the tarball

* Rename datanode.jar to graylog-datanode.jar

* Rename datanodectl to graylog-datanode.sh

* Include graylog-datanode.sh in assembly as bin/graylog-datanode

* Add a jvm.options config file

* Add a production log4j2.xml config file

* Use bundled JVM if it exists

* fixed docker image for datanode integration tests

---------

Co-authored-by: Tomas Dvorak <tomas.dvorak@graylog.com>
2023-03-28 10:49:49 +02:00
Tomas Dvorak
21e55cbcb6 Initial Data Node version PR (#14417)
Co-authored-by: Jan Heise <jan.heise@graylog.com>
2023-02-27 13:11:24 +01:00