Skip Headers
Oracle® Big Data Connectors User's Guide
Release 2 (2.1)

Part Number E36961-05
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

hdfs.root

Returns the HDFS root directory.

Usage

hdfs.root()

Return Value

A data frame with the full path of the HDFS root directory

Usage Notes

The default HDFS root is set to /. Users to not have write privileges to this directory. To change the HDFS root to a path where you have write access, use the hdfs.setroot function.

See Also

hdfs.setroot

Example

This example identifies /user/oracle as the root directory of HDFS.

R> hdfs.root()
[1] "/user/oracle"