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!
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