Created 08-29-2017 06:38 PM
Team,
Where i can find the list of hadoop component versions in XML if not possible.please share some curl command to get.
I need like hdfs :2.7 yarn: 2.5 hive 1.2.01 kind of
waiting for the response
Created 08-30-2017 11:51 PM
@suresh krishRefer to below thread, it returns Json response to get version for each component.
Created 08-31-2017 02:11 AM
Can i get if from any of the xml file.. here i need to provide each and every service seperately every time
Created 09-07-2017 06:22 PM
Ambari APIs responses only in Json format. if you need an xml file for a specific service of a specific HDP stack by which you can get service's version then it would be metainfo.xml file for that service.
you can fetch such service's metainfo.xml from ambari-server host at location
/var/lib/ambari-server/resources/stacks/HDP/$StackVersion/services/$serviceName/metainfo.xml
Please substitute $StackVersion and $serviceName with actual desired values. For example:
/var/lib/ambari-server/resources/stacks/HDP/2.6/services/HDFS/metainfo.xml
The same can be browsed on github at link