HDFS-14916. RBF: line breaks are missing from the output of 'hdfs dfsrouteradmin -ls'. Contributed by Xieming Li.

This commit is contained in:
Ayush Saxena 2019-10-21 18:20:00 +05:30
parent 447f46d962
commit ff6a492d66

View File

@ -788,9 +788,10 @@ private static void printMounts(List<MountTable> entries, boolean detail) {
System.out.print(
String.format(" %-10s", entry.isReadOnly() ? "Read-Only" : ""));
System.out.println(String.format(" %-15s",
System.out.print(String.format(" %-15s",
entry.isFaultTolerant() ? "Fault-Tolerant" : ""));
}
System.out.println();
}
}