I am using Hadoop 2.6.0 (emr-4.2.0
image). I have made some changes in yarn-site.xml
and want to restart yarn to bring the changes into effect.
If what you want to do is to enable log-aggregation, it is actually easier to create the cluster with log-aggregation already enabled, as described in the documentation:
http://docs.aws.amazon.com/ElasticMapReduce/latest/ManagementGuide/emr-plan-debugging.html
(It is actually enabled by default if you are using emr-4.3.0
).