Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

REST API to get individual HDP component version

SOLVED Go to solution
Highlighted

REST API to get individual HDP component version

Hello folks,

could you please help me getting the REST API to get individual HDP component versions. The most most close detail I got was through following but it does not give me the version details :-

"href" : "http://192.168.100.130:8080/api/v1/clusters/MyCluster/hosts/ambari.dn2.local/host_components/PIG",
  "HostRoles" : {
    "cluster_name" : "MyCluster",
    "component_name" : "PIG",
    "desired_stack_id" : "HDP-2.3",
    "desired_state" : "INSTALLED",
    "hdp_version" : "HDP-2.3.4.0-3485",
    "host_name" : "ambari.dn2.local",
    "maintenance_state" : "OFF",
    "service_name" : "PIG",
    "stack_id" : "HDP-2.3",
    "stale_configs" : false,
    "state" : "INSTALLED",
    "upgrade_state" : "NONE",	
1 ACCEPTED SOLUTION

Accepted Solutions

Re: REST API to get individual HDP component version

Expert Contributor
3 REPLIES 3

Re: REST API to get individual HDP component version

Expert Contributor

Re: REST API to get individual HDP component version

Thanks @Mats Johansson , this served my purpose.

Re: REST API to get individual HDP component version

Contributor