sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun Suresh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SENTRY-525) [Unit Test]org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegrationtestEnd2End test fails
Date Wed, 19 Nov 2014 07:31:34 GMT

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

Arun Suresh commented on SENTRY-525:
------------------------------------

Committed to master :

Precommit Run:
https://builds.apache.org/view/S-Z/view/Sentry/job/PreCommit-SENTRY-Build/32/

SENTRY-525: Fix TestHDFSIntegration test failure

Branch: refs/heads/master
Commit: d540ad385d77d9847c3e9ddccc81c48e589ee833
Parents: 32e6715
Author: Arun Suresh <asuresh@cloudera.com>
Authored: Tue Nov 18 23:26:08 2014 -0800
Committer: Arun Suresh <asuresh@cloudera.com>
Committed: Tue Nov 18 23:26:08 2014 -0800

> [Unit Test]org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegrationtestEnd2End test fails
> -------------------------------------------------------------------------------------
>
>                 Key: SENTRY-525
>                 URL: https://issues.apache.org/jira/browse/SENTRY-525
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Dapeng Sun
>            Assignee: Arun Suresh
>            Priority: Blocker
>             Fix For: 1.5.0
>
>         Attachments: SENTRY-525.1.patch, SENTRY-525.2.patch
>
>
> There is the log in my local environment
> {code}
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 33.572 sec <<<
FAILURE! - in org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration
> testEnd2End(org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration)  Time elapsed: 33.503
sec  <<< ERROR!
> java.sql.SQLException: Could not open connection to jdbc:hive2://localhost:10000/default:
java.net.ConnectException: Connection refused
> 	at java.net.PlainSocketImpl.socketConnect(Native Method)
> 	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
> 	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
> 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
> 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
> 	at java.net.Socket.connect(Socket.java:579)
> 	at org.apache.thrift.transport.TSocket.open(TSocket.java:180)
> 	at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:248)
> 	at org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:1)
> 	at org.apache.hive.jdbc.HiveConnection.openTransport(HiveConnection.java:200)
> 	at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:177)
> 	at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:571)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:215)
> 	at org.apache.sentry.tests.e2e.hive.hiveserver.AbstractHiveServer.createConnection(AbstractHiveServer.java:63)
> 	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.testEnd2End(TestHDFSIntegration.java:441)
> Results :
> Tests in error: 
>   TestHDFSIntegration.testEnd2End:441 ?SQL Could not open connection to jdbc:hi...
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> {code}
> Marked as blocker since this is a unit test failure.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message