I would like to obtain the .CSV / .JSON file generated by the HDFS Disk Usage Report capability of HDFS File Explorer in Cloudera Manager using the REST API. Does anyone know how?
Thanks in advance!
I'm also looking into this, but have not yet discovered how to get it. I'm not even sure it's possible.
Did you try this?
Fetch the HDFS usage report:
It works for me:
You notice I use for ClusterName the chars %20 that represents a blank (my ClusterName is "Production US"), so I made the URL understand that is a blank