Rediģēt

Kopīgot, izmantojot


RxHdfsFileSystem

revoscalepy.RxHdfsFileSystem(host_name=None, port=None)

Description

Main generator class for RxHdfsFileSystem.

Returns

An RxHdfsFileSystem file system object. This object may be used in RxOptions, RxTextData, RxXdfData, RxParquetData, or RxOrcData to set the file system.

See also

RxOptions RxTextData RxXdfData RxParquet RxOrcData RxFileSystem

Example

from revoscalepy import RxHdfsFileSystem
fs = RxHdfsFileSystem()
print(fs.file_system_type())
from revoscalepy import RxXdfData
xdf_data = RxXdfData("/tmp/hdfs_file", file_system = fs)