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

dfsadmin shows DFS Used%: NaN% if the cluster has zero block.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-beta1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      This is rather a non-issue, but thought I should file it anyway.

      I have a test cluster with just NN fsimage, no DN, no blocks, and dfsadmin shows:

      $ hdfs dfsadmin -report
      Configured Capacity: 0 (0 B)
      Present Capacity: 0 (0 B)
      DFS Remaining: 0 (0 B)
      DFS Used: 0 (0 B)
      DFS Used%: NaN%
      

        Attachments

          Activity

            People

            • Assignee:
              cheersyang Weiwei Yang
              Reporter:
              jojochuang Wei-Chiu Chuang
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: