[ 
https://issues.apache.org/jira/browse/KNOX-2771?focusedWorklogId=788234&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-788234
 ]

ASF GitHub Bot logged work on KNOX-2771:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Jul/22 13:21
            Start Date: 06/Jul/22 13:21
    Worklog Time Spent: 10m 
      Work Description: smolnar82 commented on PR #602:
URL: https://github.com/apache/knox/pull/602#issuecomment-1176215953

   One more general ask: instead of using screenshots of text blocks 
(configuration, logs, etc...) in the description or comments, please use the 
'text block' representation of GitHub PRs. The way it's impossible to 
copy-paste that content if I wanted to use it. For instance, instead of using 
this screenshot
   <img width="490" alt="Screenshot 2022-07-06 at 15 18 57" 
src="https://user-images.githubusercontent.com/34065904/177559551-825b3b32-c421-46ee-bf6e-237b4dc05f45.png";>
   Please do this:
   ```
       <property>
           <name>gateway.httpclient.connectionTimeout</name>
           <value>8m</value>
       </property>
       <property>
           <name>gateway.httpclient.socketTimeout</name>
           <value>10m</value>
       </property>
   ```
   




Issue Time Tracking
-------------------

    Worklog Id:     (was: 788234)
    Time Spent: 1h  (was: 50m)

> 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
>  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)

Reply via email to