Compartilhar via


rx_hadoop_copy_from_local

Usage

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

Description

Wraps the Hadoop fs -copyFromLocal command.

Arguments

source

A character string specifying file(s) in Local File System

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_from_local
rx_hadoop_copy_from_local("/tmp/foo.txt", "/user/RevoShare/newUser")