ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dai Xiang <xiang....@sky-data.cn>
Subject How do services get configuartion and use them?
Date Fri, 05 Jan 2018 01:29:03 GMT
Hi!

I am new to Ambari and i have a question:
I want to write a customized service and want to use settings in config, but
how do service get and use configuration?

I find that getResource function read configs and compress them in
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java?

But i do not find where service use those config.

I guess i miss something important.

Could anyone help me?

-- 
Best Regards
Dai Xiang

Mime
View raw message