Add docstring to hadoop module