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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-beta1
    • None
    • None
    • 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

        1. HDFS-12176.001.patch
          1 kB
          Weiwei Yang

        Activity

          People

            cheersyang Weiwei Yang
            weichiu Wei-Chiu Chuang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: