removed unrelated hadoop code