You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sumit Gupta (JIRA)" <ji...@apache.org> on 2017/01/11 19:58:16 UTC
[jira] [Commented] (KNOX-805) Allow defining a custom HttpClient
when creating a new session
[ https://issues.apache.org/jira/browse/KNOX-805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15818988#comment-15818988 ]
Sumit Gupta commented on KNOX-805:
----------------------------------
On trying out the patch I found that loginInsecure does not work anymore. I'll look into a fix and try and commit the changes all together.
> Allow defining a custom HttpClient when creating a new session
> --------------------------------------------------------------
>
> Key: KNOX-805
> URL: https://issues.apache.org/jira/browse/KNOX-805
> Project: Apache Knox
> Issue Type: Bug
> Components: ClientDSL
> Reporter: Vincent Devillers
> Assignee: Vincent Devillers
> Labels: KIP-4
> Fix For: 0.12.0
>
> Attachments: KNOX-805.patch
>
>
> 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…
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)