reduce hadoop calls in creating init parameter