From 4b68b915c4149e932b2b15c2ddf7eb5cc1dc5d56 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Tue, 9 Jul 2013 04:51:25 +0000 Subject: [PATCH] HBASE-8895 Misc: replace hbase.client.retries.number w/ define and remove unused imports git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1501087 13f79535-47bb-0310-9956-ffa450edef68 --- hbase-server/src/main/ruby/hbase/hbase.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/main/ruby/hbase/hbase.rb b/hbase-server/src/main/ruby/hbase/hbase.rb index 73a24cc61ff..64482c5e0d8 100644 --- a/hbase-server/src/main/ruby/hbase/hbase.rb +++ b/hbase-server/src/main/ruby/hbase/hbase.rb @@ -34,7 +34,7 @@ module Hbase else self.configuration = org.apache.hadoop.hbase.HBaseConfiguration.create # Turn off retries in hbase and ipc. Human doesn't want to wait on N retries. - configuration.setInt(org.apache.hadoop.hbase.HConstants::HBASE_CLIENT_RETRIES_NUMBER, 7) + configuration.setInt("hbase.client.retries.number", 7) configuration.setInt("ipc.client.connect.max.retries", 3) end end