Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-805

Allow defining a custom HttpClient when creating a new session

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • ClientDSL

    Description

      When creating a new session, I think it should be possible to specify a custom CloseableHttpClient in parameter of the static method Hadoop.login(url, user,password). This will allow to prepare a well defined CloaseableHttpClient if you want to add headers, limit the length of the message send, define specific strategy on dns resolution or hostname verification, size the connection pool…

      Attachments

        1. KNOX-805.patch
          16 kB
          Vincent Devillers

        Issue Links

          Activity

            People

              treydone Vincent Devillers
              treydone Vincent Devillers
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: