Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-26903 Bump httpclient from 4.5.3 to 4.5.13
  3. HBASE-26904

[REST] Client must disable URI normalization

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • REST
    • None

    Description

      There is a comment in our POM indicating we cannot upgrade httpclient, which is problematic.

          <!-- 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. -->  
      

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            apurtell Andrew Kyle Purtell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: