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
This commit is contained in:
Michael Stack 2013-07-09 04:51:25 +00:00
parent 022593a9ff
commit 4b68b915c4
1 changed files with 1 additions and 1 deletions

View File

@ -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