You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by al...@apache.org on 2019/06/06 02:25:23 UTC
[nifi] branch master updated: NIFI-6350 Fixed misleading flow
controller startup error message.
This is an automated email from the ASF dual-hosted git repository.
alopresto pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/master by this push:
new 2d3fce8 NIFI-6350 Fixed misleading flow controller startup error message.
2d3fce8 is described below
commit 2d3fce81c1876747c5296991a9eb11304dc6c6a4
Author: Peter Wicks <pa...@gmail.com>
AuthorDate: Wed Jun 5 02:08:37 2019 +0000
NIFI-6350 Fixed misleading flow controller startup error message.
This closes #3516.
Signed-off-by: Andy LoPresto <al...@apache.org>
---
.../src/main/java/org/apache/nifi/web/api/ApplicationResource.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ApplicationResource.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ApplicationResource.java
index f675a46..3794ee3 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ApplicationResource.java
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/ApplicationResource.java
@@ -881,7 +881,7 @@ public abstract class ApplicationResource {
private void ensureFlowInitialized() {
if (!flowController.isInitialized()) {
- throw new IllegalClusterStateException("Cluster is still in the process of voting on the appropriate Data Flow.");
+ throw new IllegalClusterStateException("The Flow Controller is initializing the Data Flow.");
}
}