hdfsGetUsed()

Supported by libMapRClient for hadoop-2.x

Returns the total number of bytes bytes that are being used by all of the files in the filesystem.

Signature

tOffset hdfsGetUsed(hdfsFS fs)

Parameters

Parameter Description
fs The filesystem handle.

Return Value

Returns the total size in bytes or -1 on error.

Check errno for error codes and meanings.