Өзгерту

Бөлісу құралы:


rx_hadoop_move

Usage

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

Description

Wraps the Hadoop fs -mv command.

Arguments

source

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

dest

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

Example

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