HBASE-10931 Enhance logs
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1586019 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c908da44d0
commit
8bcb70ddcf
|
@ -441,4 +441,10 @@ public class CatalogTracker {
|
|||
public HConnection getConnection() {
|
||||
return this.connection;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "CatalogTracker{" + "connection=" + connection + ", zookeeper=" + zookeeper +
|
||||
", metaRegionTracker=" + metaRegionTracker + ", stopped=" + stopped + '}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -205,4 +205,10 @@ public class RpcRetryingCaller<T> {
|
|||
}
|
||||
return t;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "RpcRetryingCaller{" + "globalStartTime=" + globalStartTime +
|
||||
", pause=" + pause + ", retries=" + retries + '}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -243,4 +243,10 @@ public abstract class ZooKeeperNodeTracker extends ZooKeeperListener {
|
|||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ZooKeeperNodeTracker{" +
|
||||
"node='" + node + ", stopped=" + stopped + '}';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -749,7 +749,8 @@ public class HRegionFileSystem {
|
|||
throw new IOException("Unable to remove existing " + regionInfoFile);
|
||||
}
|
||||
} catch (FileNotFoundException e) {
|
||||
LOG.warn(REGION_INFO_FILE + " file not found for region: " + regionInfo.getEncodedName());
|
||||
LOG.warn(REGION_INFO_FILE + " file not found for region: " + regionInfo.getEncodedName() +
|
||||
" on table " + regionInfo.getTable());
|
||||
}
|
||||
|
||||
// Write HRI to a file in case we need to recover hbase:meta
|
||||
|
|
Loading…
Reference in New Issue