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 9ccd23cc314..19bfc18cac0 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()); } /**