nxcals.api.common.utils.hdfs_utils.HdfsUtils.copy_to_local

HdfsUtils.copy_to_local(source: str, destination: str) None

Copies files from an HDFS source directory to a local destination.

Parameters:
  • source – The HDFS source directory.

  • destination – The local directory where files should be copied.

Raises:

Exception – If the copy operation fails.