[This is preliminary documentation and is subject to change.]
The DfsBlock type exposes the following members.
Fields
| Name | Description | |
|---|---|---|
| dataNodeAddress |
address and port of the preferred datanode to use to read the block from; this saves one redirection
through the namenode during the webhdfs protocol
| |
| fileLength |
total length of the file
| |
| length |
length of the block to read
| |
| offset |
offset of the block in the file
| |
| path |
path of the file being read
|
See Also