Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3590

JDBC Format tests don't hide derby logs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • API / DataSet, Tests
    • None

    Description

      The batch jdbc IO-format tests print the derby log, due to some refactoring going wrong.

       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=''
      

      We should hide these logs again.

      Attachments

        Activity

          People

            chesnay Chesnay Schepler
            chesnay Chesnay Schepler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: