Restart HDFS and MapReduce services

After adding the topology script property to core-site.xml, you must restart the HDFS and MapReduce services.