webhdfs: Initialize WebHDFS Object

Description Usage Arguments Value Enable WebHDFS

View source: R/webhdfs.R

Description

Initialize WebHDFS Object

Usage

1
2
webhdfs(namenode_host, namenode_port, hdfs_username, securityON = FALSE,
  token = NULL)

Arguments

namenode_host

namenode host address

namenode_port

namenode host port

hdfs_username

webhdfs access username

securityON

TRUE if HDFS security is on, FALSE otherwise

token

Hadoop delegation token to use when security is ON. NULL implies Kerberos SPNEGO authentication if securityON is TRUE

Value

a webhdfs object that captures the configuration

Enable WebHDFS

To enable WebHDFS in your Hadoop Installation add the following configuration to your hdfs_site.xml (requires Hadoop >0.20.205.0):

<property> <name>dfs.webhdfs.enabled</name> <value>true</value> </property>

see: https://issues.apache.org/jira/secure/attachment/12500090/WebHdfsAPI20111020.pdf


saurfang/rwebhdfs documentation built on May 29, 2019, 3:20 p.m.