hdfsGetDefaultBlockSize()
Supported by libMapRClient for hadoop-0.20.2 and hadoop-2.x
Gets the default size of blocks for the connected filesystem.
Signature
tOffset hdfsGetDefaultBlockSize(hdfsFS fs)
Parameters
Parameter | Description |
---|---|
fs | The handle of filesystem. Obtain this handle with
one of the hdfsConnect() APIs. |
Return Value
Returns 256 MB.
Returns -1 on error.
Check errno for error codes and meanings.