Compartir a través de


rx_hadoop_remove

Usage

revoscalepy.rx_hadoop_remove(path: typing.Union[list, str], skip_trash=False)

Description

Wraps the Hadoop fs -rm or fs -rm -skipTrash command.

Arguments

path

Character string or list. A list of paths or A character string specifying location of one or more files.

:param skip_trash. If True, removal bypasses the trash folder, if one has been set up.

Example

from revoscalepy import rx_hadoop_remove
rx_hadoop_remove("/user/RevoShare/newUser/foo.txt", skip_trash = True)