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 static void releaseConnection(HttpRequestBase request) {
|
||||
* @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
Block a user