You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2014/09/16 03:11:33 UTC

[jira] [Resolved] (ACCUMULO-3129) SslWithClientAuthIT fails with credential provider active

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

Josh Elser resolved ACCUMULO-3129.
----------------------------------
    Resolution: Fixed

Make sure the credential provider is passed along to the client configuration.

> SslWithClientAuthIT fails with credential provider active
> ---------------------------------------------------------
>
>                 Key: ACCUMULO-3129
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3129
>             Project: Accumulo
>          Issue Type: Test
>          Components: test
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>             Fix For: 1.6.1, 1.7.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Ran
> {noformat}
> mvn test -Dtest='SslWithClientAuthIT#mapReduce'  -DuseSslForIT=true -DuseCredProviderForIT=true -Dhadoop.version=2.6.0-SNAPSHOT
> {noformat}
> Saw in the RowHash log:
> {noformat}
> 2014-09-15 19:09:33,315 [impl.ThriftTransportPool] DEBUG: Failed to connect to ssl:HW10447.local:63328 (120000)
>  org.apache.thrift.transport.TTransportException: Error creating the transport
>      at org.apache.thrift.transport.TSSLTransportFactory.createSSLContext(TSSLTransportFactory.java:201)
>      at org.apache.thrift.transport.TSSLTransportFactory.getClientSocket(TSSLTransportFactory.java:165)
>      at org.apache.accumulo.core.util.ThriftUtil.createClientTransport(ThriftUtil.java:220)
>      at org.apache.accumulo.core.client.impl.ThriftTransportPool.createNewTransport(ThriftTransportPool.java:487)
>      at org.apache.accumulo.core.client.impl.ThriftTransportPool.getAnyTransport(ThriftTransportPool.java:475)
>      at org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:139)
>      at org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:118)
>      at org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:113)
>      at org.apache.accumulo.core.client.impl.ServerClient.executeRaw(ServerClient.java:95)
>      at org.apache.accumulo.core.client.impl.ServerClient.execute(ServerClient.java:61)
>      at org.apache.accumulo.core.client.impl.ConnectorImpl.<init>(ConnectorImpl.java:70)
>      at org.apache.accumulo.core.client.ZooKeeperInstance.getConnector(ZooKeeperInstance.java:240)
>      at org.apache.accumulo.core.client.mapreduce.AccumuloOutputFormat.checkOutputSpecs(AccumuloOutputFormat.java:538)
>      at org.apache.hadoop.mapreduce.JobSubmitter.checkSpecs(JobSubmitter.java:463)
>      at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:343)
>      at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1294)
>      at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1291)
>      at java.security.AccessController.doPrivileged(Native Method)
>      at javax.security.auth.Subject.doAs(Subject.java:415)
>      at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1614)
>      at org.apache.hadoop.mapreduce.Job.submit(Job.java:1291)
>      at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1312)
>      at org.apache.accumulo.examples.simple.mapreduce.RowHash.run(RowHash.java:88)
>      at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>      at org.apache.accumulo.examples.simple.mapreduce.RowHash.main(RowHash.java:93)
>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>      at java.lang.reflect.Method.invoke(Method.java:606)
>      at org.apache.accumulo.start.Main$1.run(Main.java:141)
>      at java.lang.Thread.run(Thread.java:745)
>  Caused by: java.io.IOException: Keystore was tampered with, or password was incorrect
>      at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:772)
>      at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:55)
>      at java.security.KeyStore.load(KeyStore.java:1214)
>      at org.apache.thrift.transport.TSSLTransportFactory.createSSLContext(TSSLTransportFactory.java:186)
>      ... 30 more
>  Caused by: java.security.UnrecoverableKeyException: Password verification failed
>      at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:770)
>      ... 33 more
> {noformat}



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