HBASE-24794 hbase.rowlock.wait.duration should not be <= 0 (#2174)
commit840a55761b4b3db6bfcf8ca5b7ae67509fc21566
authorSean Busbey <busbey@apache.org>
Thu, 30 Jul 2020 17:26:12 +0000 (30 12:26 -0500)
committerGitHub <noreply@github.com>
Thu, 30 Jul 2020 17:26:12 +0000 (30 12:26 -0500)
tree5a05f7fec1d918d36db6e8e10d7b8604348534f9
parent1b9269de4d340f2f69637697c8391e837b789734
HBASE-24794 hbase.rowlock.wait.duration should not be <= 0 (#2174)

if hbase.rowlock.wait.duration is <=0 then log a message and treat it as a value of 1ms.

Signed-off-by: Viraj Jasani <vjasani@apache.org>
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java