hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Vary (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-19313) TestJdbcWithDBTokenStoreNoDoAs tests are failing
Date Thu, 26 Apr 2018 11:50:00 GMT

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

Peter Vary updated HIVE-19313:
------------------------------
    Status: Patch Available  (was: Open)

Attached a file, which fixes the test failures:
- {{TestJdbcWithDBTokenStoreNoDoAs.java}} - the new connections will use the started remote
metastore. Added sleep so metastore starts correctly. Might move this to MetaStoreTestUtils.loopUntilHMSReady
if this problem rises more often
- {{TestJdbcWithDBTokenStore.java}} - in this test if I set the System properties, so we use
the  remote metastore started by MiniHS2 then this test fails. I think this is actually a
valid problem here, but but not really sure about the tests original intention, so keep everything
as it was originally. [~thejas]: Probably you know more here.

Thanks,
Peter

> TestJdbcWithDBTokenStoreNoDoAs tests are failing
> ------------------------------------------------
>
>                 Key: HIVE-19313
>                 URL: https://issues.apache.org/jira/browse/HIVE-19313
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Test
>            Reporter: Ashutosh Chauhan
>            Assignee: Peter Vary
>            Priority: Major
>         Attachments: HIVE-19313.patch
>
>
> {code}
> Stacktrace
> java.sql.SQLException: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:37606/default;principal=hive/localhost@EXAMPLE.COM;:
java.net.ConnectException: Connection refused
> 	at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:252)
> 	at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:107)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:664)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:270)
> 	at org.apache.hive.minikdc.TestJdbcWithMiniKdc.testRenewDelegationToken(TestJdbcWithMiniKdc.java:180)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {code}
> Failing repeatedly in Hive QA builds.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message