nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Anderson III (JIRA)" <>
Subject [jira] [Commented] (NIFI-437) nifi-distributed-cache-server failing testClientTermination
Date Tue, 07 Apr 2015 05:58:12 GMT


Jon Anderson III commented on NIFI-437:

Mark/Joe/Someone more knowledgeable then I, 

I have a hunch as to what may be happening but I'm not entirely sure it's correct...namely
because I don't know how to fix it to test. 

According to this (
some behavior changed in Java 8 that may be breaking this. I see some files have import statements
for such as I also see the catch statements
but I tried removing them but just get compilation errors. So again grasping at straws but
it's a thought none the less. 

Area: Core Libs / 
Prior to Java SE 8, the constructors that accept a
argument declared that a can be thrown. However, that exception was
never thrown by those constructors. In the Java SE 8 release, these constructors do not declare
that a can be thrown. If you have existing code that explicitly catches
SocketException or its superclass, remove the catch block for the exception
before compiling with Java SE 8.

> nifi-distributed-cache-server failing testClientTermination
> -----------------------------------------------------------
>                 Key: NIFI-437
>                 URL:
>             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 module 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.TestServerAndClient
> testClientTermination(org.apache.nifi.distributed.cache.server.TestServerAndClient) 
Time elapsed: 2.181 sec  <<< ERROR!
> No such file or directory
> 	at Method)
> 	at
> 	at java.nio.channels.spi.AbstractSelectableChannel.implCloseChannel(
> 	at java.nio.channels.spi.AbstractInterruptibleChannel.close(
> 	at org.apache.nifi.distributed.cache.server.AbstractCacheServer.stop(
> 	at
> 	at org.apache.nifi.distributed.cache.server.DistributedCacheServer.shutdownServer(
> 	at org.apache.nifi.distributed.cache.server.TestServerAndClient.testClientTermination(
> Results :
> Tests in error:
>   TestServerAndClient.testClientTermination:419 ยป IO No such file or directory
> {code}

This message was sent by Atlassian JIRA

View raw message