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:
parent
022593a9ff
commit
4b68b915c4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue