hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1501087 - /hbase/trunk/hbase-server/src/main/ruby/hbase/hbase.rb
Date Tue, 09 Jul 2013 04:51:25 GMT
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



Mime
View raw message