ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Constantine Yarovoy <kyaro...@gmail.com>
Subject Cannot get clusterHostInfo inside status method
Date Tue, 17 Nov 2015 13:14:14 GMT
Hi, all!

I am developing own custom stack for Ambari and I've found, that when
coding status method for a service component python handler, and trying to
get values from config['clusterHostInfo'][....] or
default('/clusterHostInfo/....') - it simply gives empty values.

However, when I try to do that inside start/stop or configure method - all
works fine.

So, the question is - is it possible to get clusterHostInfo information
within status method ?

Thanks in advance,

--
Kostiantyn Iarovyi

Mime
View raw message