package
0.1.4
Repository: https://github.com/microsoft/colinmarc-hdfs.git
Documentation: pkg.go.dev

# Functions

NewBlockReader returns a new BlockReader, given the block information and security token from the namenode.
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.

# Constants

ClientName is passed into the namenode on requests, and identifies this client to the namenode.

# Structs

BlockReader implements io.ReadCloser, for reading a block.
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.