You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Hari Shreedharan (JIRA)" <ji...@apache.org> on 2015/03/10 21:17:38 UTC

[jira] [Updated] (FLUME-2639) SecureThriftRpcClient client privileged calls throw IllegalAccessError

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

Hari Shreedharan updated FLUME-2639:
------------------------------------
    Summary: SecureThriftRpcClient client privileged calls throw IllegalAccessError  (was: SecureThriftRpcClient sasl error)

> SecureThriftRpcClient client privileged calls throw IllegalAccessError
> ----------------------------------------------------------------------
>
>                 Key: FLUME-2639
>                 URL: https://issues.apache.org/jira/browse/FLUME-2639
>             Project: Flume
>          Issue Type: Bug
>    Affects Versions: v1.6.0
>            Reporter: Johny Rufus
>            Assignee: Johny Rufus
>             Fix For: v1.6.0
>
>         Attachments: FLUME-2639-1.patch, FLUME-2639.patch
>
>
> Accessing secure thrift rpc client, throws the following error
> Exception in thread "main" java.lang.IllegalAccessError: tried to access class org.apache.thrift.transport.TSaslTransport from class org.apache.flume.api.SecureThriftRpcClient$UgiSaslClientTransport
> 	at org.apache.flume.api.SecureThriftRpcClient$UgiSaslClientTransport.access$001(SecureThriftRpcClient.java:82)
> 	at org.apache.flume.api.SecureThriftRpcClient$UgiSaslClientTransport$1.run(SecureThriftRpcClient.java:101)
> 	at org.apache.flume.api.SecureThriftRpcClient$UgiSaslClientTransport$1.run(SecureThriftRpcClient.java:98)
> 	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:1548)
> 	at org.apache.flume.auth.UGIExecutor.execute(UGIExecutor.java:45)
> 	at org.apache.flume.auth.KerberosAuthenticator.execute(KerberosAuthenticator.java:63)
> 	at org.apache.flume.api.SecureThriftRpcClient$UgiSaslClientTransport.open(SecureThriftRpcClient.java:97)
> 	at org.apache.flume.api.ThriftRpcClient$ClientWrapper.<init>(ThriftRpcClient.java:412)
> 	at org.apache.flume.api.ThriftRpcClient$ConnectionPoolManager.checkout(ThriftRpcClient.java:469)
> 	at org.apache.flume.api.ThriftRpcClient.append(ThriftRpcClient.java:133)
> 	at org.apache.flume.api.TestThriftSecureRpcClient.testKerberos(TestThriftSecureRpcClient.java:57)
> 	at org.apache.flume.api.TestThriftSecureRpcClient.main(TestThriftSecureRpcClient.java:52)
> [root@jrufus-ktest-1 flume]# vim flume-ng-auth/src/main/java/org/apache/flume/api/SecureThriftRpcClient.java 



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