[
https://issues.apache.org/jira/browse/HBASE-23881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17042333#comment-17042333
]
Josh Elser commented on HBASE-23881:
------------------------------------
{quote}To further simplify it, please try it out at commit hash 3168cf210,
which is pre-HBASE-18095.
{quote}
That's the problem – the tests pass for me on that commit :)
{noformat}
[INFO] Running
org.apache.hadoop.hbase.security.provider.example.TestShadeSaslAuthenticationProvider
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.758 s
- in
org.apache.hadoop.hbase.security.provider.example.TestShadeSaslAuthenticationProvider
{noformat}
However, when I run it on the tip of master, I see:
{noformat}
2020-02-21 20:34:10,755 INFO [Time-limited test]
example.TestShadeSaslAuthenticationProvider$3(244): Caught exception in
negative test
java.io.IOException: Invalid result for request getClusterId(). Will be retried
at java.lang.Thread.getStackTrace(Thread.java:1559)
at
org.apache.hadoop.hbase.util.FutureUtils.setStackTrace(FutureUtils.java:130)
at
org.apache.hadoop.hbase.util.FutureUtils.rethrow(FutureUtils.java:145)
at org.apache.hadoop.hbase.util.FutureUtils.get(FutureUtils.java:168)
at
org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:230)
at
org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:129)
at
org.apache.hadoop.hbase.security.provider.example.TestShadeSaslAuthenticationProvider$3.run(TestShadeSaslAuthenticationProvider.java:238)
at
org.apache.hadoop.hbase.security.provider.example.TestShadeSaslAuthenticationProvider$3.run(TestShadeSaslAuthenticationProvider.java:236)
{noformat}
I'll check the nightlies, but if you can share:
* Maven version
* JDK Version
* {{$MAVEN_OPTS}}
* the test output file from surefire-reports, after modifying the root log
level to be DEBUG in hbase-examples/src/test/resources/log4j.properties, that
would be awesome :)
Hopefully I can pull some of this from a build machine, too.
> TestShadeSaslAuthenticationProvider failures
> --------------------------------------------
>
> Key: HBASE-23881
> URL: https://issues.apache.org/jira/browse/HBASE-23881
> Project: HBase
> Issue Type: Bug
> Components: test
> Affects Versions: 3.0.0
> Reporter: Bharath Vissapragada
> Assignee: Josh Elser
> Priority: Major
>
> TestShadeSaslAuthenticationProvider now fails deterministically with the
> following exception..
> {noformat}
> java.lang.Exception: Unexpected exception,
> expected<org.apache.hadoop.hbase.DoNotRetryIOException> but
> was<java.io.IOException>
> at
> org.apache.hadoop.hbase.security.provider.example.TestShadeSaslAuthenticationProvider.testNegativeAuthentication(TestShadeSaslAuthenticationProvider.java:233)
> {noformat}
> The test now fails a different place than before merging HBASE-18095 because
> the RPCs are also a part of connection setup. We might need to rewrite the
> test..
--
This message was sent by Atlassian Jira
(v8.3.4#803005)