Github user nickwallen commented on a diff in the pull request:
https://github.com/apache/metron/pull/946#discussion_r176526651
--- Diff: metron-interface/metron-rest/src/main/scripts/metron-rest.sh ---
@@ -36,6 +36,7 @@
METRON_SYSCONFIG="${METRON_SYSCONFIG:-/etc/default/metron}"
METRON_LOG_DIR="${METRON_LOG_DIR:-/var/log/metron}"
METRON_PID_FILE="${METRON_PID_FILE:-/var/run/metron/metron-rest.pid}"
PARSER_CONTRIB=${PARSER_CONTRIB:-$METRON_HOME/parser_contrib}
+INDEXING_CONTRIB=${INDEXING_CONTRIB:-$METRON_HOME/indexing_contrib}
--- End diff --
Do we need to provide a default path for this? Can we just require the
user to define an environment variable "INDEXING_CONTRIB" if they want to do
this (and not provide a default).
If there really is a need for us to define a default path, I am wondering
if `$METRON_HOME/lib/contrib/indexing` fits a little better in our current
hierarchy.
---