HDFS-14916. RBF: line breaks are missing from the output of 'hdfs dfsrouteradmin -ls'. Contributed by Xieming Li.
This commit is contained in:
parent
447f46d962
commit
ff6a492d66
@ -788,9 +788,10 @@ private static void printMounts(List<MountTable> entries, boolean detail) {
|
|||||||
System.out.print(
|
System.out.print(
|
||||||
String.format(" %-10s", entry.isReadOnly() ? "Read-Only" : ""));
|
String.format(" %-10s", entry.isReadOnly() ? "Read-Only" : ""));
|
||||||
|
|
||||||
System.out.println(String.format(" %-15s",
|
System.out.print(String.format(" %-15s",
|
||||||
entry.isFaultTolerant() ? "Fault-Tolerant" : ""));
|
entry.isFaultTolerant() ? "Fault-Tolerant" : ""));
|
||||||
}
|
}
|
||||||
|
System.out.println();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user