[ https://issues.apache.org/jira/browse/HBASE-16829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15596519#comment-15596519 ]
Josh Elser commented on HBASE-16829: ------------------------------------ Actually, they were just geting a normal GSSException when the client used "hbase" but the thrift2 server was using a principal with a different "primary", but thanks for the mention anyways :) > DemoClient should detect secure mode > ------------------------------------ > > Key: HBASE-16829 > URL: https://issues.apache.org/jira/browse/HBASE-16829 > Project: HBase > Issue Type: Bug > Reporter: Ted Yu > Assignee: Ted Yu > Attachments: 16829.v1.txt > > > Sometimes user runs DemoClient against secure cluster using the following > command: > {code} > java -cp `hbase classpath` org.apache.hadoop.hbase.thrift2.DemoClient host > 9090 > {code} > This wouldn't work. > DemoClient should detect the presence of secure cluster - e.g. through the > following config: > {code} > <property> > <name>hbase.thrift.authentication.type</name> > <value>kerberos</value> > </property> > {code} > User can still specify 'false' as the last parameter if the target cluster is > insecure. -- This message was sent by Atlassian JIRA (v6.3.4#6332)