Skip to content

Latest commit

 

History

History
81 lines (46 loc) · 1.33 KB

File metadata and controls

81 lines (46 loc) · 1.33 KB
title description keywords author ms.author manager ms.date ms.topic ms.service ms.assetid ROBOTS audience ms.devlang ms.reviewer ms.suite ms.tgt_pltfrm ms.custom
rx_hadoop_command: Execute Hadoop commands (revoscalepy)
Executes arbitrary Hadoop commands and performs standard file operations in Hadoop.
Hadoop Command
chuckheinzelman
charlhe
cgronlun
07/15/2019
reference
mlserver
Python

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")