編集

次の方法で共有


rx_hadoop_command

Usage

revoscalepy.rx_hadoop_command(cmd: str) -> revoscalepy.functions.RxHadoopUtils.RxHadoopCommandResults

Description

Executes arbitrary Hadoop commands and performs standard file operations in Hadoop.

Arguments

cmd

A character string containing a valid Hadoop command, that is, the cmd portion of Hadoop Command. Embedded quotes are not permitted.

Returns

Class RxHadoopCommandResults

See also

rx_hadoop_make_dir rx_hadoop_copy_from_local rx_hadoop_remove_dir rx_hadoop_file_exists rx_hadoop_list_files

Example

from revoscalepy import rx_hadoop_command
rx_hadoop_command("version")