Supported by libMapRClient for hadoop-2.x
Gets the current offset in the file in bytes.
tOffset hdfsTell(hdfsFS fs, hdfsFile file)
| Parameter | Description |
|---|---|
| fs | The handle of the filesystem where the file is
located. Obtain this handle with one of the
hdfsConnect() APIs. |
| file | The file handle. Obtain this handle with one of
the hdfsOpenFile() APIs. |
Returns the current offset in bytes, or -1 on error.
Check errno for error codes and meanings.