[
https://issues.apache.org/jira/browse/KNOX-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17563399#comment-17563399
]
ASF subversion and git services commented on KNOX-2771:
-------------------------------------------------------
Commit 40139df79cf5434417237d115984a341236c1a37 in knox's branch
refs/heads/master from MrtnBalazs
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=40139df79 ]
KNOX-2771 - Log HTTP client config parameters such as socket timeouts with info
level (#602)
> Log HTTP client config parameters such as socket timeouts with info level
> -------------------------------------------------------------------------
>
> Key: KNOX-2771
> URL: https://issues.apache.org/jira/browse/KNOX-2771
> Project: Apache Knox
> Issue Type: Improvement
> Reporter: Balazs Marton
> Priority: Minor
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> Timeout parameters can be defined in two places, in gateway-site.xml and
> service.xml
>
> {code:java}
> gateway.httpclient.connectionTimeout -> 6000000
> gateway.httpclient.socketTimeout -> 6000000
> {code}
>
> {code:java}
> <dispatch classname="org.apache.knox.gateway.hive.HiveDispatch"
> ha-classname="org.apache.knox.gateway.hive.HiveHaDispatch">
> <param>
> <name>httpclient.connectionTimeout</name>
> <value>5m</value>
> </param>
> <param>
> <name>httpclient.socketTimeout</name>
> <value>5m</value>
> </param>
> </dispatch> {code}
> The latter takes priority over the former. There are multiple examples where
> the customer and/or the support tried to set these in gateway-site level but
> it didn't work.
> It would be good to see these parameters (plus other http related configs) in
> the log.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)