Sqooba / hdfs

A native go client for HDFS
MIT License
17 stars 5 forks source link

fix namenode retrieval from conf dir when high availability is enabled #3

Closed Shastick closed 6 years ago

Shastick commented 6 years ago

the dfs.nameservice property is inserted in dfs.namenode.rpc-address.<here>.nn1 in the hdfs-site.xml file.

This makes the code run into no namenode address in configuration

Shastick commented 6 years ago

Turned out not to be an HA problem, but a bug in the way the paths to be searched are built.