You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Vitalii Diravka (JIRA)" <ji...@apache.org> on 2018/12/24 14:31:00 UTC
[jira] [Created] (DRILL-6926) "java.io.IOException: Stream closed"
warning from Drill RDBMS tests
Vitalii Diravka created DRILL-6926:
--------------------------------------
Summary: "java.io.IOException: Stream closed" warning from Drill RDBMS tests
Key: DRILL-6926
URL: https://issues.apache.org/jira/browse/DRILL-6926
Project: Apache Drill
Issue Type: Bug
Components: Tools, Build & Test
Affects Versions: 1.14.0
Reporter: Vitalii Diravka
Fix For: Future
Drill RDBMS integration tests show warnings in the process of running:
{code:java}
[INFO] --- jcabi-mysql-maven-plugin:0.9:stop (mysql-test) @ drill-jdbc-storage ---
[INFO] Stopping embedded Derby database
[INFO] #stop(34374): in 313.08µs
[INFO] #reusedExistingDatabase(): false in 14.77µs
[INFO] set Maven property jcabi.reused.database = false
[WARNING] escalated exception: java.lang.IllegalStateException: java.io.IOException: Stream closed
at com.jcabi.log.VerboseRunnable$1.run(VerboseRunnable.java:139)
at com.jcabi.log.VerboseRunnable.run(VerboseRunnable.java:198)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:283)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.
{code}
It relates to [jcabi-mysql-maven-plugin|https://github.com/jcabi/jcabi-mysql-maven-plugin].
The issue was resolved for a long time ago for _com.jcabi:jcabi-mysql-maven-plugin:1.0-SNAPSHOT_ version:
[https://github.com/jcabi/jcabi-mysql-maven-plugin/issues/30]
[https://github.com/jcabi/jcabi-mysql-maven-plugin/pull/53]
[http://www.rultor.com/t/1391-67978465]
But the last version of this plugin in Maven repo is [0.9|https://mvnrepository.com/artifact/com.jcabi/jcabi-mysql-maven-plugin]
To solve the issue it is necessary to update the plugin version, once 1.0 version is released and check that all Drill tests pass without failures and this warning.
To run tests use:
_mvn clean install -pl contrib/storage-jdbc_ to run tests on 1.15.0 Drill version and
_mvn integration-test failsafe:integration-test -pl contrib/storage-jdbc_ on 1.14.0 Drill version and below.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)