Created 10-20-2016 05:57 AM
Just wondering whether Abmari does anything additional, when start HDFS/YARN, comparing to from command line directly.
I noted below case while testing rack awareness which prompts this questions. Thanks, Allen.
topology_script.py:DATA_FILE_NAME = os.path.dirname(os.path.abspath(__file__)) + "/topology_mappings.data"
For testing purpose, I modified the rack info in topology_mappings.data
a: when restart the HDFS and YARN manually, the change takes effect
b. when restart by Ambari, the change is NOT take effect. And further, the topology_mappings.data content is over-written with 'default' value and all my change has gone. (Is Ambari collecting the rack info automatically somewhere ? )
Created 10-21-2016 05:00 AM
This question can be ignored. After further reading, i understood this is expected. Ambari keeps the configuration somewhere else (most likely in its own repository and then extract and refresh the .xml during start up. Sound makes sense for the usage of repository).
Created 10-21-2016 05:00 AM
This question can be ignored. After further reading, i understood this is expected. Ambari keeps the configuration somewhere else (most likely in its own repository and then extract and refresh the .xml during start up. Sound makes sense for the usage of repository).