HDFS-12488. Ozone: OzoneRestClient timeout is not configurable. Contributed by Weiwei Yang.
This commit is contained in:
parent
7363c8fc09
commit
7151a9b604
|
@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue