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) –

  • keyword arguments passed down to any internal API used. (Further) –

Returns

written_path – The path to the written file or directory

Return type

string