From 0f2dad6679b7fc35474a3d33dc40b0db89bb1d80 Mon Sep 17 00:00:00 2001 From: Wei-Chiu Chuang Date: Tue, 30 Jul 2019 16:52:42 -0700 Subject: [PATCH] HDFS-14569. Result of crypto -listZones is not formatted properly. Contributed by hemanthboyina. --- .../src/main/java/org/apache/hadoop/tools/TableListing.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/tools/TableListing.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/tools/TableListing.java index 85015fbe30..348f86fe13 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/tools/TableListing.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/tools/TableListing.java @@ -234,7 +234,7 @@ public String toString() { Column column = columns[i]; if (column.wrap) { int maxWidth = column.getMaxWidth(); - if (maxWidth > 4) { + if (maxWidth > 10) { column.setWrapWidth(maxWidth-1); modified = true; width -= 1;