You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ram Viswanadha (Jira)" <ji...@apache.org> on 2020/09/24 18:36:00 UTC
[jira] [Created] (NIFI-7848) missing configurations in start.sh
Ram Viswanadha created NIFI-7848:
------------------------------------
Summary: missing configurations in start.sh
Key: NIFI-7848
URL: https://issues.apache.org/jira/browse/NIFI-7848
Project: Apache NiFi
Issue Type: Bug
Components: Docker
Affects Versions: 1.12.1
Reporter: Ram Viswanadha
To make the docker image run on K8S and make the information stored resilient to restarts and redeploy, some the configurations are needed. Here is a patch file for the start.sh
{code:java}
diff --git a/nifi-docker/dockerhub/sh/start.sh b/nifi-docker/dockerhub/sh/start.sh
index e4bc79a1d..e0d9524b9 100755
--- a/nifi-docker/dockerhub/sh/start.sh
+++ b/nifi-docker/dockerhub/sh/start.sh
@@ -63,6 +63,10 @@ prop_replace 'nifi.analytics.connection.model.implementation' "${NIFI_ANALYTIC
prop_replace 'nifi.analytics.connection.model.score.name' "${NIFI_ANALYTICS_MODEL_SCORE_NAME:-rSquared}"
prop_replace 'nifi.analytics.connection.model.score.threshold' "${NIFI_ANALYTICS_MODEL_SCORE_THRESHOLD:-.90}"
+prop_replace 'nifi.database.directory' "${NIFI_DATABASE_DIRECTORY}"
+prop_replace 'nifi.flow.configuration.archive.dir' "${NIFI_FLOW_CONFIGURATION_ARCHIVE_DIR}"
+prop_replace 'nifi.flow.configuration.file' "${NIFI_FLOW_CONFIGURATION_FILE}"
+
. "${scripts_dir}/update_cluster_state_management.sh"
# Check if we are secured or unsecured {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)