Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14916

RBF: line breaks are missing from the output of 'hdfs dfsrouteradmin -ls'

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: rbf, ui
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

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

      e.g.:

      The output of "hdfs dfsrouteradmin -ls" now:

      [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 ~]$
       

      This should be:

      [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 ~]$
      

        Attachments

        1. HDFS-14916.001.patch
          0.9 kB
          Xieming Li
        2. HDFS-14916.patch
          0.9 kB
          Xieming Li

          Activity

            People

            • Assignee:
              risyomei Xieming Li
              Reporter:
              risyomei Xieming Li
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: