Registry / networking / colinmarc-hdfs-v2

colinmarc-hdfs-v2

JSON →
library2.4.0gogounverified

Package hdfs provides a native, idiomatic interface to HDFS.

go get github.com/colinmarc/hdfs/v2
INSTALL
IMPORT
SIG · COLINMARC-HDFS-V2
C
colinmarc-hdfs-v2
networkinggov2.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

hdfs
github.com/colinmarc/hdfs/v2

Connects to HDFS and lists files in the root directory.

package main import ( "fmt" "github.com/colinmarc/hdfs/v2" ) func main() { client, _ := hdfs.New("namenode:8020") files, _ := client.ReadDir("/") for _, f := range files { fmt.Println(f.Name()) } }
Debug
Known issues
breakingVersion 2.x uses a different API than v1; ensure your code is updated for v2.
fix
Refer to the migration guide when upgrading from v1.
affects: >=2.0.0
Upgrade
Version history
2.4.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
18
OpenAI (training)
2
Amazon
1
Resources
colinmarc-hdfs-v2 — go get colinmarc-hdfs-v2 · libregistry