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

Eric Yang commented on HBASE-6193:
----------------------------------

REST api gateway may be difficult to secure the system.  The proxy approach 
requires two security implementations for outward facing security and internal 
security implementation.  Where the embedded rest api server in region server 
would ensure only one security implementation is required.  By adding rest api 
into the region server code, it reduces wrapper code by one layer.  Otherwise 
each new feature implemented in the region server, the rest gateway should be 
updated with corresponding new feature.  It seems to to be higher maintenance 
with rest gateway approach.  In addition, rest proxy increases the latency for 
HBase response time by one hop.  If the rest gateway is busy serving scan query 
and become none responsive, it is unclear to the administrator if the none 
responsiveness is caused by admin task or someone had a large scan query for 
another region server.
                
> REST Api for HBase administrative tasks
> ---------------------------------------
>
>                 Key: HBASE-6193
>                 URL: https://issues.apache.org/jira/browse/HBASE-6193
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Eric Yang
>
> For enabling HBASE-4368, it may be useful to have embedded REST API server 
> for each region server, and HBase Master can either aggregate or 
> proxy/redirect REST API base on administrative task functions.
> The popular admin task that can take advantage of this setup are:
> - Trigger table compaction
> - Show process list
> - Health check
> - Show black listed servers

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to