[
https://issues.apache.org/jira/browse/FLINK-3590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15184936#comment-15184936
]
ASF GitHub Bot commented on FLINK-3590:
---------------------------------------
GitHub user zentol opened a pull request:
https://github.com/apache/flink/pull/1773
[FLINK-3590] Hide derby log in JDBC tests
Hides derby logs by redirecting the log stream to a dummy stream
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zentol/flink 3590_jdbc_derby
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1773.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1773
----
commit c998b29391c08ddd359fdaf0574c063e48773678
Author: zentol <[email protected]>
Date: 2016-03-08T14:02:14Z
[FLINK-3590] Hide derby log in JDBC tests
----
> JDBC Format tests don't hide derby logs
> ---------------------------------------
>
> Key: FLINK-3590
> URL: https://issues.apache.org/jira/browse/FLINK-3590
> Project: Flink
> Issue Type: Improvement
> Components: Batch, Tests
> Affects Versions: 1.0.0
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Minor
> Fix For: 1.1.0
>
>
> The batch jdbc IO-format tests print the derby log, due to some refactoring
> going wrong.
> {code}
> T E S T S
> -------------------------------------------------------
> Running org.apache.flink.api.java.io.jdbc.JDBCInputFormatTest
> Tue Mar 08 12:17:03 UTC 2016 Thread[main,5,main]
> java.lang.ClassNotFoundException:
> org.apache.flink.api.java.record.io.jdbc.DevNullLogStream
> ----------------------------------------------------------------
> Tue Mar 08 12:17:03 UTC 2016:
> Booting Derby version The Apache Software Foundation - Apache Derby -
> 10.10.1.1 - (1458268): instance a816c00e-0153-5628-ba57-00000d988ed0
> on database directory
> memory:/home/travis/build/zentol/flink/flink-batch-connectors/flink-jdbc/ebookshop
> with class loader sun.misc.Launcher$AppClassLoader@788bf135
> Loaded from
> file:/home/travis/.m2/repository/org/apache/derby/derby/10.10.1.1/derby-10.10.1.1.jar
> java.vendor=Oracle Corporation
> java.runtime.version=1.7.0_76-b13
> user.dir=/home/travis/build/zentol/flink/flink-batch-connectors/flink-jdbc
> os.name=Linux
> os.arch=amd64
> os.version=3.13.0-40-generic
> derby.system.home=null
> derby.stream.error.field=org.apache.flink.api.java.record.io.jdbc.DevNullLogStream.DEV_NULL
> Database Class Loader started - derby.database.classpath=''
> {code}
> We should hide these logs again.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)