From 5383e476d5baa220815e2122d6b8613a2f3947dc Mon Sep 17 00:00:00 2001 From: Andrey Stepachev Date: Thu, 14 May 2015 13:08:04 +0100 Subject: [PATCH] HBASE-13647 Default value for hbase.client.operation.timeout is too high --- .../src/main/java/org/apache/hadoop/hbase/HConstants.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java index f15a318dcdd..ae0dad2b12c 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java @@ -280,7 +280,7 @@ public final class HConstants { "hbase.client.meta.operation.timeout"; /** Default HBase client operation timeout, which is tantamount to a blocking call */ - public static final int DEFAULT_HBASE_CLIENT_OPERATION_TIMEOUT = Integer.MAX_VALUE; + public static final int DEFAULT_HBASE_CLIENT_OPERATION_TIMEOUT = 60000; /** Used to construct the name of the log directory for a region server */ public static final String HREGION_LOGDIR_NAME = "WALs";