You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Xieming Li (Jira)" <ji...@apache.org> on 2019/10/21 06:32:00 UTC

[jira] [Created] (HDFS-14916) RBF: line breaks are missing from the output of "hdfs dfsrouteradmin -ls"

Xieming Li created HDFS-14916:
---------------------------------

             Summary: RBF: line breaks are missing from the output of "hdfs dfsrouteradmin -ls"
                 Key: HDFS-14916
                 URL: https://issues.apache.org/jira/browse/HDFS-14916
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: rbf, ui
            Reporter: Xieming Li
            Assignee: Xieming Li


line breaks seem to be missing from the output of "hdfs dfsrouteradmin -ls"

e.g.:

The output of "hdfs dfsrouteradmin -ls" now:
{code:java}
[sri@nn00070 ~]$ hdfs dfsrouteradmin -ls
Mount Table Entries:
Source                    Destinations              Owner                     Group                     Mode       Quota/Usage
/testDir1             subCluster1->/user/user1       hdfs                      hdfs                      rwxr-xr-x  [NsQuota: -/-, SsQuota: -/-]  /user2                 subCluster1->/tmp/user2        user2                  users                     rwxr-xr-x  [NsQuota: -/-, SsQuota: -/-]  /user/user3           subCluster1->/user/user3      user3                 hadoop                    rwxr-xr-x  [NsQuota: -/-, SsQuota: -/-]  [sri@nn00070 ~]$
 {code}
This should be:
{code:java}
[sri@nn00070 ~]$ hdfs dfsrouteradmin -ls -d
Mount Table Entries:
Source                    Destinations              Owner                     Group                     Mode       Quota/Usage                    
/testDir1                subCluster1->/user/user1       hdfs                   hdfs                      rwxr-xr-x  [NsQuota: -/-, SsQuota: -/-]
/user2                    subCluster1->/tmp/user2        user2                users                     rwxr-xr-x  [NsQuota: -/-, SsQuota: -/-]
/user/user3           subCluster1->/user/user3       user3                 hadoop                 rwxr-xr-x  [NsQuota: -/-, SsQuota: -/-]
[sri@nn00070 ~]$
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org