Updating mapreduce path to use specific version and removing the shell var in remote api command.