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 file system.
Signature
tOffset hdfsGetUsed(hdfsFS fs)
Parameters
Parameter | Description |
---|---|
fs | The file system handle. |
Return Value
Returns the total size in bytes or -1 on error.
Check errno for error codes and meanings.