def load(hdfs_path, **kwargs):
m, _ = common.parse_mode(kwargs.get("<STR_LIT>", "<STR_LIT:r>"))<EOL>if m != "<STR_LIT:r>":<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>with open(hdfs_path, **kwargs) as fi:<EOL><INDENT>data = fi.read()<EOL><DEDENT>fi.fs.close()<EOL>return data<EOL>
\
    Read the content of ``hdfs_path`` and return it.

    Keyword arguments are passed to :func:`open`. The `"mode"` kwarg
    must be readonly.