Better condition for reinstall hadoop in provision