move_files: Move files from HDFS folders.

Description Usage Arguments Value

View source: R/move_files.R

Description

Move files from HDFS folders.

Usage

1
2
move_files(hdfsUri, dirUri, destUri, user_name, move_all = TRUE,
  fname = "", newname = "")

Arguments

hdfsUri,

hdfs url

dirUri,

path to directory to move file from

destUri,

destination folder

user_name,

credential with write access

move_all,

boolean : should all file in folder been moved ?

fname,

name of the file to move

newname,

default to empty string (no change). Allows to rename the file if needed.

Value

nothing, see more HDFS API at ttps://hadoop.apache.org/docs/r1.0.4/webhdfs.html


ND-open/ptools documentation built on July 9, 2019, 10:55 p.m.