ibis.HDFS.put

HDFS.put(hdfs_path, resource, overwrite=False, verbose=None, **kwargs)

Write file or directory to HDFS

Parameters
hdfs_pathstring

Directory or path

resourcestring or buffer-like

Relative or absolute path to local resource, or a file-like object

overwriteboolean, default False
verboseboolean, default ibis options.verbose
Further keyword arguments passed down to any internal API used.
Returns
written_pathstring

The path to the written file or directory