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

How to use versioned config directories?


How to use versioned config directories?

New Contributor

When we start services via Ambari, startup logs for all services include a line like :

"Checking if need to create versioned conf dir /etc/hadoop/"

Even if the actual version of config on Ambari is lest say 15, the check is always for /etc/hadoop/ and not /etc/hadoop/

I also looked at ambari source code at and the check for a version dir# 0 seems to be hardcoded

When / are versioned config directories ever created?


Re: How to use versioned config directories?

Super Guru
@Guru Prateek Pinnadhari

Looks like 0 represents current version. Other versions are stored in ambari database.

You can have a look at below thread for more detail.

Don't have an account?
Coming from Hortonworks? Activate your account here