編輯

共用方式為


rx_hadoop_list_files

Usage

revoscalepy.rx_hadoop_list_files(path: typing.Union[list, str],
    recursive=False)

Description

Wraps the Hadoop fs -ls or -lsr command.

Arguments

path

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

recursive

Bool value. If True, directory listings are recursive.

Example

from revoscalepy import rx_hadoop_list_files
rx_hadoop_list_files("/user/RevoShare/newUser")