Skip to content

Commit 6381682

Browse files
committed
Only one retry before failing a put
1 parent 346b4c9 commit 6381682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/ruby/hbase/hbase.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def initialize(config = nil)
1616
else
1717
self.configuration = org.apache.hadoop.hbase.HBaseConfiguration.create
1818
# Turn off retries in hbase and ipc. Human doesn't want to wait on N retries.
19-
configuration.setInt("hbase.client.retries.number", 7)
19+
configuration.setInt("hbase.client.retries.number", 1)
2020
configuration.setInt("ipc.client.connect.max.retries", 3)
2121
end
2222
end

0 commit comments

Comments
 (0)