浏览代码

HDFS-14569. Result of crypto -listZones is not formatted properly. Contributed by hemanthboyina.

(cherry picked from 0f2dad6679b7fc35474a3d33dc40b0db89bb1d80)
Wei-Chiu Chuang 5 年之前
父节点
当前提交
9c9920897d

+ 1 - 1
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/tools/TableListing.java

@@ -234,7 +234,7 @@ public class TableListing {
         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;