Haddop API
Hi, I want to know if there is a hadoop API that can give me the details about the resources used by all the hadoop nodes: indeed, I want to know the total, used and available capacity for RAM, CPU and disk for all Hadoop nodes.
I tested this API "http://nm-http-address:port/ws/v1/node", but it sends me information that has no link with the real resources used by the machine and I don't know from what source this API gets this information.
Thanks for your answers
Thanks for your reply.
When I tested this API, I got the same values as you: total memory= 8G and total vcores=8, while the machine only has 2G of memory and 2 vcores.
Do you have any explications.
Thanks in advance.
I believe it is based on the default configurations. You can play around with those configuration properties to see if they change.
Hello, can you please be more specific?
In my local instance, the information provided by the YARN web APIs are consistent with the one in the portal.
localhost:8042/ws/v1/node/info
UI portal shows consistent memory allocated: