You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by eb...@apache.org on 2019/10/28 18:09:44 UTC
[hadoop] branch branch-3.1 updated: HDFS-14931. hdfs crypto
commands limit column width. Contributed by Eric Badger
This is an automated email from the ASF dual-hosted git repository.
ebadger pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new 50c1f93 HDFS-14931. hdfs crypto commands limit column width. Contributed by Eric Badger
50c1f93 is described below
commit 50c1f932c3405f3fefa35089cb0dcaf8cb5ef30f
Author: Eric Badger <eb...@verizonmedia.com>
AuthorDate: Mon Oct 28 16:54:05 2019 +0000
HDFS-14931. hdfs crypto commands limit column width. Contributed by Eric Badger
(cherry picked from commit 9ef6ed9c1c83b9752e772ece7a716a33045752bf)
---
.../src/main/java/org/apache/hadoop/hdfs/tools/CryptoAdmin.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/CryptoAdmin.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/CryptoAdmin.java
index 5f4e738..712c760 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/CryptoAdmin.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/CryptoAdmin.java
@@ -185,7 +185,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();
@@ -381,7 +381,7 @@ public class CryptoAdmin extends Configured implements Tool {
.addField("Number of files re-encrypted")
.addField("Number of failures")
.addField("Last File Checkpointed")
- .wrapWidth(AdminHelper.MAX_LINE_WIDTH).showHeaders().build();
+ .showHeaders().build();
final RemoteIterator<ZoneReencryptionStatus> it =
admin.listReencryptionStatus();
boolean failuresMet = false;
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org