HBASE-12997 print wal pipeline on low replication.

This commit is contained in:
Sean Busbey 2015-02-09 16:30:05 -06:00
parent 9283b93e22
commit 3d692cf044
1 changed files with 2 additions and 1 deletions

View File

@ -1399,7 +1399,8 @@ public class FSHLog implements WAL {
LOG.warn("HDFS pipeline error detected. " + "Found "
+ numCurrentReplicas + " replicas but expecting no less than "
+ this.minTolerableReplication + " replicas. "
+ " Requesting close of wal.");
+ " Requesting close of wal. current pipeline: "
+ Arrays.toString(getPipeLine()));
logRollNeeded = true;
// If rollWriter is requested, increase consecutiveLogRolls. Once it
// is larger than lowReplicationRollLimit, disable the