You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ae...@apache.org on 2017/09/28 22:45:46 UTC

hadoop git commit: HDFS-12488. Ozone: OzoneRestClient timeout is not configurable. Contributed by Weiwei Yang.

Repository: hadoop
Updated Branches:
  refs/heads/HDFS-7240 5519edce5 -> ae1e3cfb7


HDFS-12488. Ozone: OzoneRestClient timeout is not configurable. Contributed by Weiwei Yang.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/ae1e3cfb
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/ae1e3cfb
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/ae1e3cfb

Branch: refs/heads/HDFS-7240
Commit: ae1e3cfb73cf716530fcf8e54332a0e899485b78
Parents: 5519edc
Author: Anu Engineer <ae...@apache.org>
Authored: Thu Sep 28 15:42:31 2017 -0700
Committer: Anu Engineer <ae...@apache.org>
Committed: Thu Sep 28 15:42:31 2017 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/ozone/client/OzoneClientUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/ae1e3cfb/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/ozone/client/OzoneClientUtils.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/ozone/client/OzoneClientUtils.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/ozone/client/OzoneClientUtils.java
index 9ccd23c..19bfc18 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/ozone/client/OzoneClientUtils.java
+++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/ozone/client/OzoneClientUtils.java
@@ -699,7 +699,7 @@ public final class OzoneClientUtils {
    * @return a default instance of {@link CloseableHttpClient}.
    */
   public static CloseableHttpClient newHttpClient() {
-    return OzoneClientUtils.newHttpClient(null);
+    return OzoneClientUtils.newHttpClient(new OzoneConfiguration());
   }
 
   /**


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