You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Porta Léonard <le...@kudelskisecurity.com> on 2017/01/05 11:25:12 UTC
NiFI server restart blocked
Hello,
I am running a NiFI cluster and it happened to be blocked on restart with the following error.
2017-01-05 11:18:53,224 ERROR [NiFi logging handler] org.apache.nifi.StdErr [Error] :42201:38: cvc-complex-type.2.4.a: Invalid content was found starting with element 'template'. One of '{processGroup, remoteProcessGroup, connection, controllerService}' is expected.
It seems to correspond to this issue which is not fixed yet: https://issues.apache.org/jira/browse/NIFI-2907
Is there any workaround to be able to restart my NiFi cluster ?
Is it possible to fix the schema ?
Thanks
Leo
RE: NiFI server restart blocked
Posted by Porta Léonard <le...@kudelskisecurity.com>.
Thanks Pierre and Mark for your answers.
I managed to remove the template from flow.xml.gz and got rid of the error.
But my access issue was somewhere else. It was a firewall config change.
Thanks and best regards
Leo
From: Mark Payne [mailto:markap14@hotmail.com]
Sent: jeudi 5 janvier 2017 14:35
To: users@nifi.apache.org
Subject: Re: NiFI server restart blocked
Hey Leo,
Yes, the error that you are seeing is related to NIFI-2907. However, it's really more of a warning/informational
message, even though it shows an ERROR-level log message. It should not affect your instance of NiFi in any
way other than creating an annoying (and concerning) error message.
Can you look through your logs and see if you have any other errors that may be causing problems for you? I
would recommend you look in both the nifi-app.log and the nifi-bootstrap.log.
Thanks
-Mark
On Jan 5, 2017, at 6:25 AM, Porta Léonard <le...@kudelskisecurity.com>> wrote:
Hello,
I am running a NiFI cluster and it happened to be blocked on restart with the following error.
2017-01-05 11:18:53,224 ERROR [NiFi logging handler] org.apache.nifi.StdErr [Error] :42201:38: cvc-complex-type.2.4.a: Invalid content was found starting with element 'template'. One of '{processGroup, remoteProcessGroup, connection, controllerService}' is expected.
It seems to correspond to this issue which is not fixed yet: https://issues.apache.org/jira/browse/NIFI-2907
Is there any workaround to be able to restart my NiFi cluster ?
Is it possible to fix the schema ?
Thanks
Leo
Re: NiFI server restart blocked
Posted by Mark Payne <ma...@hotmail.com>.
Hey Leo,
Yes, the error that you are seeing is related to NIFI-2907. However, it's really more of a warning/informational
message, even though it shows an ERROR-level log message. It should not affect your instance of NiFi in any
way other than creating an annoying (and concerning) error message.
Can you look through your logs and see if you have any other errors that may be causing problems for you? I
would recommend you look in both the nifi-app.log and the nifi-bootstrap.log.
Thanks
-Mark
On Jan 5, 2017, at 6:25 AM, Porta Léonard <le...@kudelskisecurity.com>> wrote:
Hello,
I am running a NiFI cluster and it happened to be blocked on restart with the following error.
2017-01-05 11:18:53,224 ERROR [NiFi logging handler] org.apache.nifi.StdErr [Error] :42201:38: cvc-complex-type.2.4.a: Invalid content was found starting with element 'template'. One of '{processGroup, remoteProcessGroup, connection, controllerService}' is expected.
It seems to correspond to this issue which is not fixed yet: https://issues.apache.org/jira/browse/NIFI-2907
Is there any workaround to be able to restart my NiFi cluster ?
Is it possible to fix the schema ?
Thanks
Leo
Re: NiFI server restart blocked
Posted by Pierre Villard <pi...@gmail.com>.
Hi Leo,
I'd say that you need to manually update the flow.xml.gz file to fix the
XML definition of what is defined on your canvas. Seems like one of the
template object is not matching the XSD specs.
Hope this helps,
Pierre
2017-01-05 12:25 GMT+01:00 Porta Léonard <leonard.porta@kudelskisecurity.com
>:
> Hello,
>
>
>
> I am running a NiFI cluster and it happened to be blocked on restart with
> the following error.
>
>
>
> 2017-01-05 11:18:53,224 ERROR [NiFi logging handler]
> org.apache.nifi.StdErr [Error] :42201:38: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'template'. One of '{processGroup,
> remoteProcessGroup, connection, controllerService}' is expected.
>
>
>
> It seems to correspond to this issue which is not fixed yet:
> https://issues.apache.org/jira/browse/NIFI-2907
>
>
>
> Is there any workaround to be able to restart my NiFi cluster ?
>
> Is it possible to fix the schema ?
>
>
>
> Thanks
>
> Leo
>