Hi,

We met following exception while thrift-client is trying to connect a Thrift 
server (Kerberos secured).

org.apache.thrift.transport.TTransportException: Peer indicated failure: 
Failure to initialize security context
       at 
org.apache.thrift.transport.TSaslTransport.receiveSaslMessage(TSaslTransport.java:190)
       at 
org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:258)
       at 
org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37)
       at ThriftClientTest.testThriftPutAndScan(ThriftClientTest.java:131)
       at ThriftClientTest.access$0(ThriftClientTest.java:94)
       at ThriftClientTest$1.run(ThriftClientTest.java:66)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAs(Unknown Source)
       at ThriftClientTest.main(ThriftClientTest.java:79)

Am I missing any configuration here? Have anyone faced this problem?

Any suggestion/help would be much appriciated.

Regards,
Pankaj

Reply via email to