HBASE-12997 print wal pipeline on low replication.
This commit is contained in:
parent
1d90fed564
commit
7bf4b38da5
|
@ -1400,7 +1400,8 @@ public class FSHLog implements WAL {
|
||||||
LOG.warn("HDFS pipeline error detected. " + "Found "
|
LOG.warn("HDFS pipeline error detected. " + "Found "
|
||||||
+ numCurrentReplicas + " replicas but expecting no less than "
|
+ numCurrentReplicas + " replicas but expecting no less than "
|
||||||
+ this.minTolerableReplication + " replicas. "
|
+ this.minTolerableReplication + " replicas. "
|
||||||
+ " Requesting close of wal.");
|
+ " Requesting close of wal. current pipeline: "
|
||||||
|
+ Arrays.toString(getPipeLine()));
|
||||||
logRollNeeded = true;
|
logRollNeeded = true;
|
||||||
// If rollWriter is requested, increase consecutiveLogRolls. Once it
|
// If rollWriter is requested, increase consecutiveLogRolls. Once it
|
||||||
// is larger than lowReplicationRollLimit, disable the
|
// is larger than lowReplicationRollLimit, disable the
|
||||||
|
|
Loading…
Reference in New Issue