View source: R/hdfs_utilities.R
Uploads a local file to HDFS through the webhdfs API
1 2 3 4 5 | hdfs_uploadFile(
localPath,
remotePath,
hdfsUri = "http://192.168.0.130:9870/webhdfs/v1"
)
|
localPath |
path to the local file |
remotePath |
path to the remote file |
hdfsUri |
URI of the webhdfs API, default http://192.168.0.130:9870/webhdfs/v1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.