nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Witt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NIFI-1278) Spurious error in logs on startup / shutdown
Date Fri, 11 Dec 2015 13:40:10 GMT

    [ https://issues.apache.org/jira/browse/NIFI-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15052756#comment-15052756
] 

Joseph Witt commented on NIFI-1278:
-----------------------------------

[~busbey] This may be a known JDK bug in versions prior to Java 7 update 60.  Can you please
try upgrading and see if that resolves the issue?

http://stackoverflow.com/questions/16191236/tomcat-startup-fails-due-to-java-net-socketexception-invalid-argument-on-mac-o

> Spurious error in logs on startup / shutdown
> --------------------------------------------
>
>                 Key: NIFI-1278
>                 URL: https://issues.apache.org/jira/browse/NIFI-1278
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 0.4.0
>         Environment: OS X 10.8.5, jdk1.7.0_51
>            Reporter: Sean Busbey
>              Labels: 0.4.0_RC2
>         Attachments: 0.4.0-rc2-first-run-logs.zip
>
>
> When I start NiFi 0.4.0 nifi-app.log claims things failed
> {code}
> 2015-12-11 02:12:57,605 INFO [main] org.eclipse.jetty.server.ServerConnector Started
ServerConnector@a873882{HTTP/1.1}{0.0.0.0:8080}
> 2015-12-11 02:12:57,605 INFO [main] org.eclipse.jetty.server.Server Started @27201ms
> 2015-12-11 02:12:58,785 INFO [main] org.apache.nifi.web.server.JettyServer NiFi has started.
The UI is available at the following URLs:
> 2015-12-11 02:12:58,785 INFO [main] org.apache.nifi.web.server.JettyServer http://172.16.0.136:8080/nifi
> 2015-12-11 02:12:58,785 INFO [main] org.apache.nifi.web.server.JettyServer http://172.18.13.132:8080/nifi
> 2015-12-11 02:12:58,785 INFO [main] org.apache.nifi.web.server.JettyServer http://127.0.0.1:8080/nifi
> 2015-12-11 02:12:58,791 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi due
to java.net.SocketException: Invalid argument
> java.net.SocketException: Invalid argument
>         at java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.7.0_51]
>         at java.net.SocketInputStream.read(SocketInputStream.java:152) ~[na:1.7.0_51]
>         at java.net.SocketInputStream.read(SocketInputStream.java:122) ~[na:1.7.0_51]
>         at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) ~[na:1.7.0_51]
>         at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) ~[na:1.7.0_51]
>         at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) ~[na:1.7.0_51]
>         at java.io.InputStreamReader.read(InputStreamReader.java:184) ~[na:1.7.0_51]
>         at java.io.BufferedReader.fill(BufferedReader.java:154) ~[na:1.7.0_51]
>         at java.io.BufferedReader.readLine(BufferedReader.java:317) ~[na:1.7.0_51]
>         at java.io.BufferedReader.readLine(BufferedReader.java:382) ~[na:1.7.0_51]
>         at org.apache.nifi.BootstrapListener.sendCommand(BootstrapListener.java:118)
~[nifi-runtime-0.4.0.jar:0.4.0]
>         at org.apache.nifi.BootstrapListener.sendStartedStatus(BootstrapListener.java:94)
~[nifi-runtime-0.4.0.jar:0.4.0]
>         at org.apache.nifi.NiFi.<init>(NiFi.java:140) ~[nifi-runtime-0.4.0.jar:0.4.0]
>         at org.apache.nifi.NiFi.main(NiFi.java:227) ~[nifi-runtime-0.4.0.jar:0.4.0]
> {code}
> Going to the posted URL shows me the normal NiFi GUI, and things appear to work AFAICT.
> The same kind of error appears at the end of the log once I issue {{./bin/nifi.sh stop}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message