hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Kellogg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19207) Create Minimal HBase REST Client
Date Wed, 15 Nov 2017 19:42:00 GMT

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

Rick Kellogg commented on HBASE-19207:

Attempted break out client code from hbase-rest project.  Required contents:

    Constants - Only need MIMETYPE_PROTOBUF constant
     Entire package needed - no changes
     Entire package needed
     VersionModel - move logic in constructor using ServletContext into calling method to
break dependency on Servlet API
+ Protocol buffers

The ScannerModel class includes references to many HBase Client APIs such as Scan.  This is
not really problematic since it is used by the Table interface and both are declared InterfaceAudience.Public.

It would be nice to dump the Client API dependency on Google Protocol Buffers but the Table
coprocessor methods use them as part of their public API as well.  As such they cannot really
be shaded and maintain the same package names to the client consumer.

> Create Minimal HBase REST Client
> --------------------------------
>                 Key: HBASE-19207
>                 URL: https://issues.apache.org/jira/browse/HBASE-19207
>             Project: HBase
>          Issue Type: New Feature
>          Components: Client, REST
>            Reporter: Rick Kellogg
> Create a minimal REST client with only contents of org.apache.hadoop.hbase.rest.client
and org.apache.hadoop.hbase.rest.client.models packages in the hbase-rest project.  
> Attempt to reduce the number of third party dependencies and allow user to bring their
own Apache HttpClient/Core.  The HttpClient is frequently updated and therefore should not
be shaded to allow for upgrades.

This message was sent by Atlassian JIRA

View raw message