HDFS-13789. Reduce logging frequency of QuorumJournalManager#selectInputStreams. Contributed by Erik Krogen.
This commit is contained in:
parent
849a6c6f0d
commit
d96ddb3b87
|
@ -499,8 +499,10 @@ public class QuorumJournalManager implements JournalManager {
|
||||||
// the cache used for RPC calls is not enabled; fall back to using the
|
// the cache used for RPC calls is not enabled; fall back to using the
|
||||||
// streaming mechanism to serve such requests
|
// streaming mechanism to serve such requests
|
||||||
if (inProgressOk && inProgressTailingEnabled) {
|
if (inProgressOk && inProgressTailingEnabled) {
|
||||||
LOG.info("Tailing edits starting from txn ID " + fromTxnId +
|
if (LOG.isDebugEnabled()) {
|
||||||
|
LOG.debug("Tailing edits starting from txn ID " + fromTxnId +
|
||||||
" via RPC mechanism");
|
" via RPC mechanism");
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
Collection<EditLogInputStream> rpcStreams = new ArrayList<>();
|
Collection<EditLogInputStream> rpcStreams = new ArrayList<>();
|
||||||
selectRpcInputStreams(rpcStreams, fromTxnId, onlyDurableTxns);
|
selectRpcInputStreams(rpcStreams, fromTxnId, onlyDurableTxns);
|
||||||
|
|
Loading…
Reference in New Issue