[ 
https://issues.apache.org/jira/browse/IMPALA-14671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Quanlong Huang resolved IMPALA-14671.
-------------------------------------
    Fix Version/s: Impala 5.0.0
       Resolution: Fixed

> test_loaded_tables_metric fails with ConnectException in non-HDFS builds
> ------------------------------------------------------------------------
>
>                 Key: IMPALA-14671
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14671
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Quanlong Huang
>            Assignee: Quanlong Huang
>            Priority: Major
>             Fix For: Impala 5.0.0
>
>
> The test runs a Hive statement which requires HiveServer is running. In 
> non-HDFS builds, e.g. ozone/s3 builds, the test fails with ConnectException.
> {code:python}
> custom_cluster/test_automatic_invalidation.py:183: in 
> test_loaded_tables_metric
>     self.run_stmt_in_hive("drop table %s.hive_drop_tbl" % unique_database)
> common/impala_test_suite.py:1358: in run_stmt_in_hive
>     return cls.run_stmt_in_beeline(url, username, stmt)
> common/impala_test_suite.py:1394: in run_stmt_in_beeline
>     raise RuntimeError(stderr)
> E   RuntimeError: Picked up JAVA_TOOL_OPTIONS: 
> E   SLF4J: Class path contains multiple SLF4J bindings.
> E   SLF4J: Found binding in 
> [jar:file:/data0/jenkins/workspace/impala-asf-master-core-s3/Impala-Toolchain/cdp_components-71942734/apache-hive-3.1.3000.7.3.1.500-182-bin/lib/log4j-slf4j-impl-2.18.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> E   SLF4J: Found binding in 
> [jar:file:/data0/jenkins/workspace/impala-asf-master-core-s3/Impala-Toolchain/cdp_components-71942734/hadoop-3.1.1.7.3.1.500-182/share/hadoop/common/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> E   SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
> explanation.
> E   SLF4J: Actual binding is of type 
> [org.apache.logging.slf4j.Log4jLoggerFactory]
> E   Picked up JAVA_TOOL_OPTIONS: 
> E   SLF4J: Class path contains multiple SLF4J bindings.
> E   SLF4J: Found binding in 
> [jar:file:/data0/jenkins/workspace/impala-asf-master-core-s3/Impala-Toolchain/cdp_components-71942734/apache-hive-3.1.3000.7.3.1.500-182-bin/lib/log4j-slf4j-impl-2.18.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> E   SLF4J: Found binding in 
> [jar:file:/data0/jenkins/workspace/impala-asf-master-core-s3/Impala-Toolchain/cdp_components-71942734/hadoop-3.1.1.7.3.1.500-182/share/hadoop/common/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> E   SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
> explanation.
> E   SLF4J: Actual binding is of type 
> [org.apache.logging.slf4j.Log4jLoggerFactory]
> E   26/01/06 08:14:37 [main]: WARN jdbc.HiveConnection: Failed to connect to 
> localhost:11050
> E   Could not open connection to the HS2 server. Please check the server URI 
> and if the URI is correct, then ask the administrator to check the server 
> status.
> E   Error: Could not open client transport with JDBC Uri: 
> jdbc:hive2://localhost:11050: java.net.ConnectException: Connection refused 
> (Connection refused) (state=08S01,code=0){code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to