From commits-return-7069-apmail-nifi-commits-archive=nifi.apache.org@nifi.incubator.apache.org Tue Apr 7 05:58:33 2015 Return-Path: X-Original-To: apmail-nifi-commits-archive@minotaur.apache.org Delivered-To: apmail-nifi-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DCA7417DB6 for ; Tue, 7 Apr 2015 05:58:33 +0000 (UTC) Received: (qmail 38032 invoked by uid 500); 7 Apr 2015 05:58:33 -0000 Delivered-To: apmail-nifi-commits-archive@nifi.apache.org Received: (qmail 37998 invoked by uid 500); 7 Apr 2015 05:58:33 -0000 Mailing-List: contact commits-help@nifi.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.incubator.apache.org Delivered-To: mailing list commits@nifi.incubator.apache.org Received: (qmail 37989 invoked by uid 99); 7 Apr 2015 05:58:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2015 05:58:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 07 Apr 2015 05:58:32 +0000 Received: (qmail 37564 invoked by uid 99); 7 Apr 2015 05:58:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Apr 2015 05:58:12 +0000 Date: Tue, 7 Apr 2015 05:58:12 +0000 (UTC) From: "Jon Anderson III (JIRA)" To: commits@nifi.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (NIFI-437) nifi-distributed-cache-server failing testClientTermination MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/NIFI-437?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D144826= 43#comment-14482643 ]=20 Jon Anderson III commented on NIFI-437: --------------------------------------- Mark/Joe/Someone more knowledgeable then I,=20 I have a hunch as to what may be happening but I'm not entirely sure it's c= orrect...namely because I don't know how to fix it to test.=20 According to this (http://www.oracle.com/technetwork/java/javase/8-compatib= ility-guide-2156366.html) some behavior changed in Java 8 that may be break= ing this. I see some files have import statements for java.net.DatagramPack= et such as MulticaseListener.java. I also see the catch statements but I tr= ied removing them but just get compilation errors. So again grasping at str= aws but it's a thought none the less.=20 Area: Core Libs / java.net=20 Synopsis Prior to Java SE 8, the java.net.DatagramPacket constructors that accept a = java.net.SocketAddress argument declared that a java.net.SocketException ca= n be thrown. However, that exception was never thrown by those constructors= . In the Java SE 8 release, these constructors do not declare that a java.n= et.SocketException can be thrown. If you have existing code that explicitly= catches SocketException or its superclass java.io.IOException, remove the = catch block for the exception before compiling with Java SE 8. > nifi-distributed-cache-server failing testClientTermination > ----------------------------------------------------------- > > Key: NIFI-437 > URL: https://issues.apache.org/jira/browse/NIFI-437 > Project: Apache NiFi > Issue Type: Bug > Affects Versions: 0.1.0 > Environment: Mac OS X 10.10.2 > Java 1.8.0_31, 64-bit > Maven 3.2.5 > Reporter: Brian Ghigiarelli > Fix For: 0.1.0 > > Attachments: NIFI-437-only-close-server-socket-if-open.patch > > > While executing a "mvn clean install" on the latest "develop" branch for = the 0.1.0-incubating-SNAPSHOT version, the nifi-distributed-cache-server mo= dule fails with the below error. > Skipping tests and running NiFi locally seems to be running fine though. > {code} > Running org.apache.nifi.distributed.cache.server.TestServerAndClient > Tests run: 7, Failures: 0, Errors: 1, Skipped: 6, Time elapsed: 2.2 sec <= << FAILURE! - in org.apache.nifi.distributed.cache.server.TestServerAndClie= nt > testClientTermination(org.apache.nifi.distributed.cache.server.TestServer= AndClient) Time elapsed: 2.181 sec <<< ERROR! > java.io.IOException: No such file or directory > =09at sun.nio.ch.NativeThread.signal(Native Method) > =09at sun.nio.ch.ServerSocketChannelImpl.implCloseSelectableChannel(Serve= rSocketChannelImpl.java:283) > =09at java.nio.channels.spi.AbstractSelectableChannel.implCloseChannel(Ab= stractSelectableChannel.java:234) > =09at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractIn= terruptibleChannel.java:115) > =09at org.apache.nifi.distributed.cache.server.AbstractCacheServer.stop(A= bstractCacheServer.java:167) > =09at org.apache.nifi.distributed.cache.server.map.MapCacheServer.stop(Ma= pCacheServer.java:126) > =09at org.apache.nifi.distributed.cache.server.DistributedCacheServer.shu= tdownServer(DistributedCacheServer.java:96) > =09at org.apache.nifi.distributed.cache.server.TestServerAndClient.testCl= ientTermination(TestServerAndClient.java:419) > Results : > Tests in error: > TestServerAndClient.testClientTermination:419 =C2=BB IO No such file or= directory > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)