[
https://issues.apache.org/jira/browse/HBASE-15522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15290040#comment-15290040
]
Misty Stanley-Jones commented on HBASE-15522:
---------------------------------------------
{quote}
HBase has a secure Thrift demo client you can reuse - the specific change for
secure connections being that you need to use a SASL transport:
https://github.com/cloudera/hbase/blob/cdh5.4.1-release/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/DemoClient.java#L116-L129
Apache Thrift only recently added inbuilt support for SASL transports in Python
libraries, via https://issues.apache.org/jira/browse/THRIFT-1719. I don't have
a direct reference simple-demo, but the key change between secured and insecure
connections via thrift -> hbase is to switch the transport into the SASL mode,
keeping all else the same. Following the same philosophy as the Java one will
work out in Python if you use 0.9.2 Apache Thrift python libraries with its
Python+SASL features.
{quote}
> Document how to set up a Kerberos enabled Thrift proxy
> ------------------------------------------------------
>
> Key: HBASE-15522
> URL: https://issues.apache.org/jira/browse/HBASE-15522
> Project: HBase
> Issue Type: Task
> Components: documentation, security
> Reporter: Misty Stanley-Jones
> Assignee: Misty Stanley-Jones
> Fix For: 2.0.0
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)