You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Davis Joki <da...@gmail.com> on 2015/05/09 05:33:36 UTC

error on shutdown

I downloaded the RC and built from source - and then ran a quick test in
the UI.  Everything worked great but saw this on shutdown:

davis 11:09 PM
~/dev/nifi/nifi-0.1.0-incubating/nifi-assembly/target/nifi-0.1.0-incubating-bin/nifi-0.1.0-incubating$
./bin/nifi.sh stop

Java home: /usr/lib/jvm/java-7-openjdk-amd64
NiFi home:
/home/davis/dev/nifi/nifi-0.1.0-incubating/nifi-assembly/target/nifi-0.1.0-incubating-bin/nifi-0.1.0-incubating

Bootstrap Config File:
/home/davis/dev/nifi/nifi-0.1.0-incubating/nifi-assembly/target/nifi-0.1.0-incubating-bin/nifi-0.1.0-incubating/conf/bootstrap.conf

May 08, 2015 11:09:23 PM org.apache.nifi.bootstrap.RunNiFi stop
SEVERE: Failed to send shutdown command to port 42,148 due to
java.net.SocketException: Socket is closed


Not sure if that's really an error, could be something with my
environment.  I restarted a couple of times and each time I get the SEVERE
log line.  The port appears to be open when it is running.

- Davis

Re: error on shutdown

Posted by Joe Witt <jo...@gmail.com>.
Thanks Davis.  I have noticed that as well.  It does indeed stop the
application but the presence of a SEVERE warning does make you
wonder...

https://issues.apache.org/jira/browse/NIFI-602

On Fri, May 8, 2015 at 11:33 PM, Davis Joki <da...@gmail.com> wrote:
> I downloaded the RC and built from source - and then ran a quick test in
> the UI.  Everything worked great but saw this on shutdown:
>
> davis 11:09 PM
> ~/dev/nifi/nifi-0.1.0-incubating/nifi-assembly/target/nifi-0.1.0-incubating-bin/nifi-0.1.0-incubating$
> ./bin/nifi.sh stop
>
> Java home: /usr/lib/jvm/java-7-openjdk-amd64
> NiFi home:
> /home/davis/dev/nifi/nifi-0.1.0-incubating/nifi-assembly/target/nifi-0.1.0-incubating-bin/nifi-0.1.0-incubating
>
> Bootstrap Config File:
> /home/davis/dev/nifi/nifi-0.1.0-incubating/nifi-assembly/target/nifi-0.1.0-incubating-bin/nifi-0.1.0-incubating/conf/bootstrap.conf
>
> May 08, 2015 11:09:23 PM org.apache.nifi.bootstrap.RunNiFi stop
> SEVERE: Failed to send shutdown command to port 42,148 due to
> java.net.SocketException: Socket is closed
>
>
> Not sure if that's really an error, could be something with my
> environment.  I restarted a couple of times and each time I get the SEVERE
> log line.  The port appears to be open when it is running.
>
> - Davis