HBASE-12732 Log messages in FileLink#tryOpen are reversed (Tobi Vollebregt)
This commit is contained in:
parent
40fb2e9219
commit
feede7abd8
|
@ -290,7 +290,7 @@ public class FileLink {
|
||||||
if (pos != 0) in.seek(pos);
|
if (pos != 0) in.seek(pos);
|
||||||
assert(in.getPos() == pos) : "Link unable to seek to the right position=" + pos;
|
assert(in.getPos() == pos) : "Link unable to seek to the right position=" + pos;
|
||||||
if (LOG.isTraceEnabled()) {
|
if (LOG.isTraceEnabled()) {
|
||||||
if (currentPath != null) {
|
if (currentPath == null) {
|
||||||
LOG.debug("link open path=" + path);
|
LOG.debug("link open path=" + path);
|
||||||
} else {
|
} else {
|
||||||
LOG.trace("link switch from path=" + currentPath + " to path=" + path);
|
LOG.trace("link switch from path=" + currentPath + " to path=" + path);
|
||||||
|
|
Loading…
Reference in New Issue