ibis.HDFS.put

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

Write file or directory to HDFS

Parameters:
hdfs_path : string

Directory or path

resource : string or buffer-like

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

overwrite : boolean, default False
verbose : boolean, default ibis options.verbose
Further keyword arguments passed down to any internal API used.
Returns:
written_path : string

The path to the written file or directory