HDFS-14931. hdfs crypto commands limit column width. Contributed by Eric Badger
This commit is contained in:
parent
d5e9971e6d
commit
9ef6ed9c1c
|
@ -185,7 +185,7 @@ public class CryptoAdmin extends Configured implements Tool {
|
||||||
try {
|
try {
|
||||||
final TableListing listing = new TableListing.Builder()
|
final TableListing listing = new TableListing.Builder()
|
||||||
.addField("").addField("", true)
|
.addField("").addField("", true)
|
||||||
.wrapWidth(AdminHelper.MAX_LINE_WIDTH).hideHeaders().build();
|
.hideHeaders().build();
|
||||||
final RemoteIterator<EncryptionZone> it = admin.listEncryptionZones();
|
final RemoteIterator<EncryptionZone> it = admin.listEncryptionZones();
|
||||||
while (it.hasNext()) {
|
while (it.hasNext()) {
|
||||||
EncryptionZone ez = it.next();
|
EncryptionZone ez = it.next();
|
||||||
|
@ -381,7 +381,7 @@ public class CryptoAdmin extends Configured implements Tool {
|
||||||
.addField("Number of files re-encrypted")
|
.addField("Number of files re-encrypted")
|
||||||
.addField("Number of failures")
|
.addField("Number of failures")
|
||||||
.addField("Last File Checkpointed")
|
.addField("Last File Checkpointed")
|
||||||
.wrapWidth(AdminHelper.MAX_LINE_WIDTH).showHeaders().build();
|
.showHeaders().build();
|
||||||
final RemoteIterator<ZoneReencryptionStatus> it =
|
final RemoteIterator<ZoneReencryptionStatus> it =
|
||||||
admin.listReencryptionStatus();
|
admin.listReencryptionStatus();
|
||||||
boolean failuresMet = false;
|
boolean failuresMet = false;
|
||||||
|
|
Loading…
Reference in New Issue