Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 220 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 220 Bytes

HDFS HA for Go

import "github.com/colinmarc/hdfs"
ha, _ := hdfs_ha.New("hostname:2181", 5 * time.Second, "nameservice")
server, _ := ha.GetActiveNameNode()
client, _ := hdfs.New(server)