From 7bf4b38da53b1b8acfabde95617e7e15f9db3655 Mon Sep 17 00:00:00 2001 From: Sean Busbey Date: Mon, 9 Feb 2015 16:30:05 -0600 Subject: [PATCH] HBASE-12997 print wal pipeline on low replication. --- .../java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java index 4e1311c4f1a..6eb62d15296 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java @@ -1400,7 +1400,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