fix bug 1293439: check sub configuration is correct or not for Ambari