[ 
https://issues.apache.org/jira/browse/HBASE-19118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16226221#comment-16226221
 ] 

Reid Chan commented on HBASE-19118:
-----------------------------------

Without this patch, only one of these values: auth/auth-int/auth-conf would 
bring up thrift server successfully. Otherwise:
{code}
Exception in thread "main" java.io.IOException: Invalid 
hbase.thrift.security.qop: authentication, it must be 'auth', 'auth-int', or 
'auth-conf'
        at 
org.apache.hadoop.hbase.thrift.ThriftServerRunner.<init>(ThriftServerRunner.java:333)
        at 
org.apache.hadoop.hbase.thrift.ThriftServer.doMain(ThriftServer.java:95)
        at 
org.apache.hadoop.hbase.thrift.ThriftServer.main(ThriftServer.java:240)
{code}
With this patch, "auth/auth-int/auth-conf" or 
"authentication/integrity/privacy" works the same.

> Use SaslUtil to set Sasl.QOP in 'Thrift'
> ----------------------------------------
>
>                 Key: HBASE-19118
>                 URL: https://issues.apache.org/jira/browse/HBASE-19118
>             Project: HBase
>          Issue Type: Bug
>          Components: Thrift
>    Affects Versions: 1.2.6
>            Reporter: Reid Chan
>            Assignee: Reid Chan
>         Attachments: HBASE-19118.master.001.patch, 
> HBASE-19118.master.002.patch, HBASE-19118.master.003.patch
>
>
> In [Configure the Thrift 
> Gateway|http://hbase.apache.org/book.html#security.client.thrift], it says 
> "set the property {{hbase.thrift.security.qop}} to one of the following three 
> values: {{privacy}}, {{integrity}}, {{authentication}}", which would lead to 
> failure of starting up a thrift server.
> In fact, the value of {{hbase.thrift.security.qop}} should be {{auth}}, 
> {{auth-int}}, {{auth-conf}}, according to the documentation of {{Sasl.QOP}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to