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

This commit is contained in:
Anu Engineer 2017-09-28 15:42:31 -07:00 committed by Owen O'Malley
parent 7363c8fc09
commit 7151a9b604
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}
/**