hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12488) Ozone: OzoneRestClient timeout is not configurable
Date Tue, 24 Apr 2018 20:57:06 GMT

    [ https://issues.apache.org/jira/browse/HDFS-12488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16451025#comment-16451025
] 

Hudson commented on HDFS-12488:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14057 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/14057/])
HDFS-12488. Ozone: OzoneRestClient timeout is not configurable. (aengineer: rev ae1e3cfb73cf716530fcf8e54332a0e899485b78)
* (edit) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/ozone/client/OzoneClientUtils.java


> Ozone: OzoneRestClient timeout is not configurable
> --------------------------------------------------
>
>                 Key: HDFS-12488
>                 URL: https://issues.apache.org/jira/browse/HDFS-12488
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>    Affects Versions: HDFS-7240
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>            Priority: Major
>              Labels: OzonePostMerge
>             Fix For: HDFS-7240
>
>         Attachments: HDFS-12488-HDFS-7240.001.patch
>
>
> When I test ozone on a 15 nodes cluster with millions of keys, responses of rest client
becomes to be slower. Following call times out after default 5s,
> {code}
> bin/hdfs oz -listBucket  http://15oz1.fyre.ibm.com:9864/vol-0-84022 -user wwei
> Command Failed : {"httpCode":0,"shortMessage":"Read timed out","resource":null,"message":"Read
timed out","requestID":null,"hostName":null}
> {code}
> Then I increase the timeout by explicitly setting following property in {{ozone-site.xml}}
> {code}
>  <property>
>     <name>ozone.client.socket.timeout.ms</name>
>     <value>10000</value>
>   </property>
> {code}
> but this doesn't work and rest clients are still created with default *5s* timeout. This
needs to be fixed. Just like {{DFSClient}}, we should make {{OzoneRestClient}} to be configuration
awareness, so that clients can adjust client configuration on demand. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message