You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Xuefu Zhang (JIRA)" <ji...@apache.org> on 2019/07/15 13:36:00 UTC

[jira] [Commented] (FLINK-13265) Noisy hive-connector tests

    [ https://issues.apache.org/jira/browse/FLINK-13265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16885236#comment-16885236 ] 

Xuefu Zhang commented on FLINK-13265:
-------------------------------------

cc [~phoenixjiangnan]. We used to have a similar issue in blink. From the log I saw  exceptions like those:
{code}
RROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
08:15:41.597 [main] ERROR org.apache.hadoop.hive.metastore.RetryingHMSHandler - InvalidOperationException(message:Database db1 is not empty. One or more tables exist.)
	at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.drop_database_core(HiveMetaStore.java:1039)
	at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.drop_database(HiveMetaStore.java:1175)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
...

08:15:43.316 [main] ERROR org.apache.hadoop.hive.metastore.RetryingHMSHandler - AlreadyExistsException(message:Table t1 already exists)
	at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_table_core(HiveMetaStore.java:1416)
	at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.create_table_with_environment_context(HiveMetaStore.java:1503)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
{code}



> Noisy hive-connector tests
> --------------------------
>
>                 Key: FLINK-13265
>                 URL: https://issues.apache.org/jira/browse/FLINK-13265
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Hive, Tests
>    Affects Versions: 1.9.0
>            Reporter: Chesnay Schepler
>            Priority: Major
>             Fix For: 1.9.0
>
>
> The hive-connector tests print plenty of exceptions, yet are still passing: https://travis-ci.org/apache/flink/jobs/558777767
> The tests should be modified to only log exceptions when they are relevant for the correctness of the test.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)