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

dfsadmin -metasave prints "NaN" for cache used%

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 2.7.2, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      In a metasave file, "NaN" is getting printed for cacheused% –

      For metasave file –
      hdfs dfsadmin -metasave fnew

      vi fnew
      Metasave: Number of datanodes: 3
      DN1:50076 IN 211378954240(196.86 GB) 2457942(2.34 MB) 0.00% 185318637568(172.59 GB) 0(0 B) 0(0 B) NaN% 0(0 B) Mon Sep 07 17:22:42

      In DN report, Cache is -
      hdfs dfsadmin -report
      Decommission Status : Normal
      Configured Capacity: 211378954240 (196.86 GB)
      DFS Used: 3121152 (2.98 MB)
      Non DFS Used: 16376107008 (15.25 GB)
      DFS Remaining: 194999726080 (181.61 GB)
      DFS Used%: 0.00%
      DFS Remaining%: 92.25%

      Configured Cache Capacity: 0 (0 B)
      Cache Used: 0 (0 B)
      Cache Remaining: 0 (0 B)
      Cache Used%: 100.00%
      Cache Remaining%: 0.00%

      Attachments

        1. HDFS-9033.patch
          3 kB
          Brahma Reddy Battula

        Activity

          People

            brahmareddy Brahma Reddy Battula
            archanat Archana T
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: