package
1.0.3
Repository: https://github.com/luopengift/hdfs.git
Documentation: pkg.go.dev

# Functions

NewBlockReader returns a new BlockReader, given the block information and security token from the namenode.
NewBlockWriter returns a BlockWriter for the given block.
NewChecksumReader creates a new ChecksumReader for the given block.
NewNamenodeConnection creates a new connection to a Namenode, and preforms an initial handshake.
WrapNamenodeConnection wraps an existing net.Conn to a Namenode, and preforms an initial handshake.

# Variables

No description provided by the author
No description provided by the author

# Structs

BlockReader implements io.ReadCloser, for reading a block.
BlockWriter implements io.WriteCloser for writing a block to a datanode.
ChecksumReader provides an interface for reading the "MD5CRC32" checksums of individual blocks.
NamenodeConnection represents an open connection to a namenode.
NamenodeError represents an interepreted error from the Namenode, including the error code and the java backtrace.