Gabriel Orstadius-Bui created NIFI-12991:
--------------------------------------------
Summary: Can't switch to Standard execution engine if there is a
child process group inheriting
Key: NIFI-12991
URL: https://issues.apache.org/jira/browse/NIFI-12991
Project: Apache NiFi
Issue Type: Bug
Components: NiFi Stateless
Affects Versions: 2.0.0-M2
Reporter: Gabriel Orstadius-Bui
If process group "A" has child process group "B" which inherits its parent's
(A's) execution engine, switching A's execution engine to Stateless is no
problem.
However, thereafter switching A's execution engine back to Standard leads to
this error message being shown:
"A Process Group using the Standard Engine may not be the child of a Process
Group using the Stateless Engine. Cannot set Execution Engine of
StandardProcessGroup[identifier=f406cf3a-018d-1000-42a3-6a708991aab7,name=B] to
Standard because it is a child of
StandardProcessGroup[identifier=e574e59b-018d-1000-530e-0a9db5c39a6e,name=A]"
It seems as if NiFi in this case first tries to switch B's execution engine to
standard, which is not allowed because A is still using the Standard execution
engine. In this case, NiFi should instead first change A's execution engine and
thereafter B's.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)