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

Ted Yu commented on HBASE-18875:
--------------------------------

Mind attaching patch for branch-1 ?
{code}
Applying: HBASE-18875 Thrift server supports read-only mode
error: patch failed: 
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java:49
error: 
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java:
 patch does not apply
Patch failed at 0001 HBASE-18875 Thrift server supports read-only mode
{code}

> Thrift server supports read-only mode
> -------------------------------------
>
>                 Key: HBASE-18875
>                 URL: https://issues.apache.org/jira/browse/HBASE-18875
>             Project: HBase
>          Issue Type: New Feature
>          Components: Thrift
>    Affects Versions: 2.0.0, 3.0.0, 1.5.0
>            Reporter: Guangxu Cheng
>            Assignee: Guangxu Cheng
>         Attachments: HBASE-18875.patch, HBASE-18875.v1.patch
>
>
> Provide option for thrift server to support read-only mode.
> To start the thrift server, use the -ro option or set hbase.thrift.readonly 
> to true.
> false: Both read and write request are permitted.(all methods)
> true : Only the read request is permitted.  (only get/scan method)



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

Reply via email to