You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Minder (JIRA)" <ji...@apache.org> on 2016/03/17 20:30:33 UTC

[jira] [Updated] (KNOX-695) Expose configuration of HttpClient's connection and socket timeout settings

     [ https://issues.apache.org/jira/browse/KNOX-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Minder updated KNOX-695:
------------------------------
    Description: 
Probably need this at the global gateway-site.xml level like this
{code}
<property>
    <name>gateway.httpclient.connectionTimeout</name>
    <value>2m</value>
</property>
<property>
    <name>gateway.httpclient.socketTimeout</name>
    <value>2m</value>
</property>
{code}
and an override at the service level in a topology file like this
{code}
<service>
    <role>HIVE</role>
    <param>
        <name>httpclient.connectionTimeout</name>
        <value>2m</value>
    </param>
    <param>
        <name>httpclient.socketTimeout</name>
        <value>2m</value>
    </param>  
</service>
{code}

  was:
Probably need this at the global gateway-site.xml level like this
{code}
<property>
    <name>gateway.httpclient.connectionTimeout</name>
    <value>2m</value>
</property>
<property>
    <name>gateway.httpclient.connectionTimeout</name>
    <value>2m</value>
</property>
{code}
and an override at the service level in a topology file like this
{code}
<service>
    <role>HIVE</role>
    <param>
        <name>httpclient.connectionTimeout</name>
        <value>2m</value>
    </param>
    <param>
        <name>httpclient.socketTimeout</name>
        <value>2m</value>
    </param>  
</service>
{code}


> Expose configuration of HttpClient's connection and socket timeout settings
> ---------------------------------------------------------------------------
>
>                 Key: KNOX-695
>                 URL: https://issues.apache.org/jira/browse/KNOX-695
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 0.9.0
>            Reporter: Kevin Minder
>             Fix For: 0.9.0
>
>
> Probably need this at the global gateway-site.xml level like this
> {code}
> <property>
>     <name>gateway.httpclient.connectionTimeout</name>
>     <value>2m</value>
> </property>
> <property>
>     <name>gateway.httpclient.socketTimeout</name>
>     <value>2m</value>
> </property>
> {code}
> and an override at the service level in a topology file like this
> {code}
> <service>
>     <role>HIVE</role>
>     <param>
>         <name>httpclient.connectionTimeout</name>
>         <value>2m</value>
>     </param>
>     <param>
>         <name>httpclient.socketTimeout</name>
>         <value>2m</value>
>     </param>  
> </service>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)