Hi everyone,
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!
Best regards
Created 08-27-2018 12:20 AM
Hi,
I'm also looking into this, but have not yet discovered how to get it. I'm not even sure it's possible.
E
Created on 08-28-2018 05:05 PM - edited 08-28-2018 05:10 PM
Did you try this?
Fetch the HDFS usage report:
It works for me:
https://<cm_host>:7183/api/v19/clusters/<ClusterName>/services/<ServiceName>/reports/hdfsUsageReport
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
Regards,
Nic
Created 08-28-2018 06:01 PM