HBASE-12732 Log messages in FileLink#tryOpen are reversed (Tobi Vollebregt)

This commit is contained in:
stack 2014-12-19 17:47:11 -08:00
parent 40fb2e9219
commit feede7abd8
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ public class FileLink {
if (pos != 0) in.seek(pos);
assert(in.getPos() == pos) : "Link unable to seek to the right position=" + pos;
if (LOG.isTraceEnabled()) {
if (currentPath != null) {
if (currentPath == null) {
LOG.debug("link open path=" + path);
} else {
LOG.trace("link switch from path=" + currentPath + " to path=" + path);