Skip to content

Latest commit

 

History

History
72 lines (40 loc) · 1.05 KB

File metadata and controls

72 lines (40 loc) · 1.05 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_copy_from_local: Execute Hadoop copyFromLocal commands (revoscalepy)
Wraps the Hadoop fs -copyFromLocal command.
Hadoop Command
chuckheinzelman
charlhe
cgronlun
07/15/2019
reference
mlserver
Python

rx_hadoop_copy_from_local

Usage

revoscalepy.rx_hadoop_copy_from_local(source: str, dest: str)

Description

Wraps the Hadoop fs -copyFromLocal command.

Arguments

source

A character string specifying file(s) in Local File System

dest

A character string specifying the destination of a copy in HDFS If source includes more than one file, dest must be a directory.

Example

from revoscalepy import rx_hadoop_copy_from_local
rx_hadoop_copy_from_local("/tmp/foo.txt", "/user/RevoShare/newUser")