You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/03/29 17:03:00 UTC

[jira] [Resolved] (HBASE-26904) [REST] Client must disable URI normalization

     [ https://issues.apache.org/jira/browse/HBASE-26904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kyle Purtell resolved HBASE-26904.
-----------------------------------------
    Fix Version/s:     (was: 2.5.0)
                       (was: 3.0.0-alpha-3)
                       (was: 2.4.12)
         Assignee:     (was: Andrew Kyle Purtell)
       Resolution: Won't Fix

I wanted to break this out into a separate task but the API for disabling URI normalization only appears in the recent versions where the feature was introduced. 

 ¯\_(ツ)_/¯

> [REST] Client must disable URI normalization
> --------------------------------------------
>
>                 Key: HBASE-26904
>                 URL: https://issues.apache.org/jira/browse/HBASE-26904
>             Project: HBase
>          Issue Type: Sub-task
>          Components: REST
>            Reporter: Andrew Kyle Purtell
>            Priority: Minor
>
> There is a comment in our POM indicating we cannot upgrade httpclient, which is problematic. 
> {noformat}
>     <!-- Updating the httpclient will break hbase-rest. It writes out URLs with '//' in it                                                                                          
>       especially when writing out 'no column families'. Later httpclients collapse the '//'                                                                                         
>       into single '/' as double-slash is not legal in an URL. Breaks #testDelete in                                                                                                 
>       TestRemoteTable. -->  
> {noformat}
> This behavior in httpclient manifests when URI normalization is enabled, which is the default. The client must disable it, Otherwise some required URI constructions for performing various actions against the REST gateway are impossible.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)