Which version of hbase are you using ? Have you taken a look at:
http://hbase.apache.org/book.html#security.client.thrift Cheers On Fri, Feb 19, 2016 at 3:11 AM, prabhu Mahendran <[email protected]> wrote: > Hi, > > I have try to access Hbase Thrift authentication in Secured Cluster by this > referal link(https://issues.apache.org/jira/browse/HBASE-11960).Now i got > Following Exception occurs. > > > log4j:WARN No appenders could be found for logger > (org.apache.thrift.transport.TSaslTransport). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for > more info. > Exception in thread "main" java.security.PrivilegedActionException: > org.apache.thrift.transport.TTransportException: GSS initiate failed > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:415) > at thriftclienttest.DemoClient.main(DemoClient.java:84) > Caused by: org.apache.thrift.transport.TTransportException: GSS initiate > failed > at > > org.apache.thrift.transport.TSaslTransport.sendAndThrowMessage(TSaslTransport.java:221) > at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:297) > at > > org.apache.thrift.transport.TSaslClientTransport.open(TSaslClientTransport.java:37) > at thriftclienttest.DemoClient.run(DemoClient.java:134) > at thriftclienttest.DemoClient.access$000(DemoClient.java:56) > at thriftclienttest.DemoClient$1.run(DemoClient.java:88) > at thriftclienttest.DemoClient$1.run(DemoClient.java:85) > ... 3 more > Java Result: 1 > > > Please anyone help me to solve this. > > > Best, > Mahendran V.M >
