You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Pankaj Kumar (Jira)" <ji...@apache.org> on 2020/07/15 19:23:00 UTC

[jira] [Commented] (HBASE-24115) Relocate test-only REST "client" from src/ to test/ and mark Private

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

Pankaj Kumar commented on HBASE-24115:
--------------------------------------

[~apurtell] Sorry for coming late on this, I thought these are REST java client interfaces to perform create/delete table and put/get/Scan operations. We have some use cases too where applications are using RemoteAdmin/RemoteHTable APIs. 

Pardon me, I might have missed the background of these interfaces. 

> Relocate test-only REST "client" from src/ to test/ and mark Private
> --------------------------------------------------------------------
>
>                 Key: HBASE-24115
>                 URL: https://issues.apache.org/jira/browse/HBASE-24115
>             Project: HBase
>          Issue Type: Test
>          Components: REST, security
>            Reporter: Andrew Kyle Purtell
>            Assignee: Andrew Kyle Purtell
>            Priority: Major
>             Fix For: 3.0.0-alpha-1, 2.3.0, 1.3.7, 1.7.0, 2.1.10, 1.4.14, 2.2.5
>
>
> Relocate test-only REST "client" from src/ to test/ and annotate as Private. The classes o.a.h.h.rest.Remote* were developed to facilitate REST unit tests and incorrectly committed to src/ . 
> Although this "breaks" compatibility by moving public classes to test jar and marking them private, no attention has been paid to these classes with respect to performance, convenience, or security. Consensus from various discussions over the years is to move them to test/ as was intent of the original committer, but misplaced by the same individual. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)