First stop hadoop and then change the configuration