diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/tools/federation/RouterAdmin.java b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/tools/federation/RouterAdmin.java index 8ba06aaaa34..da0070917ad 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/tools/federation/RouterAdmin.java +++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/tools/federation/RouterAdmin.java @@ -788,9 +788,10 @@ public class RouterAdmin extends Configured implements Tool { 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(); } }