webhdfs_set: Set WebHDFS File Properties

Description Usage Arguments Value

View source: R/webhdfs_set.R

Description

Miscellaneous set functions for file properties:

  1. Permission

  2. Owner

  3. Replication Factor

  4. Access or Modication time

Usage

1
2
webhdfs_set(webhdfs, path, permission = NULL, owner = NULL, group = NULL,
  replication = NULL, modificationtime = NULL, accesstime = NULL, ...)

Arguments

webhdfs

a webhdfs object

path

The path to file/directory

permission

The permission of a file/directory

owner

The username who is the owner of a file/directory

group

The name of user group

replication

The number of replications of a file

modificationtime

The modification time of a file/directory (in unix milliseconds timestamp)

accesstime

The access time of a file/directory (in unix milliseconds timestamp)

...

additional arguments passed to curl_webhdfs

Value

result from file_stat on the updated file/directory


linz1112/rwebhdfs-fix documentation built on May 21, 2019, 6:39 a.m.