共用方式為


rx_hadoop_make_dir

Usage

revoscalepy.rx_hadoop_make_dir(path: typing.Union[list, str])

Description

Wraps the Hadoop fs -mkdir -p command.

Arguments

path

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

Example

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