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

Andrew Kyle Purtell updated HBASE-26904:
----------------------------------------
    Summary: [REST] RemoteHTable must disable httpclient URI normalization  
(was: [REST] RemoteTable must disable httpclient URI normalization)

> [REST] RemoteHTable must disable httpclient 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
>            Assignee: Andrew Kyle Purtell
>            Priority: Minor
>             Fix For: 2.5.0, 3.0.0-alpha-3, 2.4.12
>
>
> 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. RemoteTable must disable it, Otherwise some required 
> URI constructions for performing various actions against the REST gateway are 
> impossible.
> Contributors should only use RemoteTable for unit tests, but it may also be 
> used by end users. 



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

Reply via email to