This is an automated email from the ASF dual-hosted git repository.

ayushsaxena pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new ff6a492  HDFS-14916. RBF: line breaks are missing from the output of 
'hdfs dfsrouteradmin -ls'. Contributed by Xieming Li.
ff6a492 is described below

commit ff6a492d6666c9f8e15bde5d1bce3f8841298146
Author: Ayush Saxena <[email protected]>
AuthorDate: Mon Oct 21 18:20:00 2019 +0530

    HDFS-14916. RBF: line breaks are missing from the output of 'hdfs 
dfsrouteradmin -ls'. Contributed by Xieming Li.
---
 .../main/java/org/apache/hadoop/hdfs/tools/federation/RouterAdmin.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 8ba06aa..da00709 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();
     }
   }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to