Hi all:
      I want to do use the REST API in status function, so I should get the 
ambari server host. In start/stop function, it can be get by 
Script.get_confgi()['clusterInfo']['ambariServerHost'].  But in status 
function, the key was not exist. Maybe, i can get it by 
Script.get_confgi()['jdk_location'] indirectly, but I think this is not elegant.
      Is there a better solution?


Thanks!

Reply via email to