Compartilhar via


rx_hadoop_copy

Usage

revoscalepy.rx_hadoop_copy(source: str, dest: str)

Description

Wraps the Hadoop fs -cp command.

Arguments

source

A character string specifying file(s) to be copied in HDFS

dest

A character string specifying the destination of a copy in HDFS If source includes more than one file, dest must be a directory.

Example

from revoscalepy import rx_hadoop_copy
rx_hadoop_copy("/user/RevoShare/newUser/foo.txt","/user/RevoShare/newUser/bar.txt")