소스 검색

HDFS-14931. hdfs crypto commands limit column width. Contributed by Eric Badger

(cherry picked from commit 9ef6ed9c1c83b9752e772ece7a716a33045752bf)
Kihwal Lee 5 년 전
부모
커밋
54c7d23e58
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/CryptoAdmin.java

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/CryptoAdmin.java

@@ -182,7 +182,7 @@ public class CryptoAdmin extends Configured implements Tool {
       try {
         final TableListing listing = new TableListing.Builder()
           .addField("").addField("", true)
-          .wrapWidth(AdminHelper.MAX_LINE_WIDTH).hideHeaders().build();
+          .hideHeaders().build();
         final RemoteIterator<EncryptionZone> it = admin.listEncryptionZones();
         while (it.hasNext()) {
           EncryptionZone ez = it.next();