Skip to content
Permalink
Browse files
HBASE-22415 HBOSS: changed log verbosity to debug on some lock colisi…
…on cases

Signed-off-by: Biju Nair <gs.biju@gmail.com>
Signed-off-by: Sean Mackrory <mackrorysd@gmail.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
  • Loading branch information
wchevreuil authored and busbey committed May 31, 2019
1 parent 49a81cf commit c49a079afe84d0f9f57777b2cc1c197bbf682d07
Showing 1 changed file with 3 additions and 3 deletions.
@@ -175,7 +175,7 @@ protected boolean writeLockAbove(Path p) throws IOException {
while (!p.isRoot()) {
p = p.getParent();
if (isLocked(get(p).writeLock())) {
LOG.warn("Parent write lock currently held: {}", p);
LOG.debug("Parent write lock currently held: {}", p);
return true;
}
}
@@ -246,7 +246,7 @@ private boolean writeLockBelow(Path p, int level, int maxLevel) throws IOExcepti
continue;
}
if (writeLockBelow(new Path(p, child), level+1, maxLevel)) {
LOG.warn("Parent write lock currently held: {}", p);
LOG.debug("Parent write lock currently held: {}", p);
return true;
}
}
@@ -271,7 +271,7 @@ private boolean readLockBelow(Path p, int level, int maxLevel) throws IOExceptio
continue;
}
if (readLockBelow(new Path(p, child), level+1, maxLevel)) {
LOG.warn("Child read lock currently held: {}", p);
LOG.debug("Child read lock currently held: {}", p);
return true;
}
}

0 comments on commit c49a079

Please sign in to comment.