You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2013/07/09 06:51:25 UTC
svn commit: r1501087 - /hbase/trunk/hbase-server/src/main/ruby/hbase/hbase.rb
Author: stack
Date: Tue Jul 9 04:51:25 2013
New Revision: 1501087
URL: http://svn.apache.org/r1501087
Log:
HBASE-8895 Misc: replace hbase.client.retries.number w/ define and remove unused imports
Modified:
hbase/trunk/hbase-server/src/main/ruby/hbase/hbase.rb
Modified: hbase/trunk/hbase-server/src/main/ruby/hbase/hbase.rb
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/ruby/hbase/hbase.rb?rev=1501087&r1=1501086&r2=1501087&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/ruby/hbase/hbase.rb (original)
+++ hbase/trunk/hbase-server/src/main/ruby/hbase/hbase.rb Tue Jul 9 04:51:25 2013
@@ -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