Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hdfs-site.xml with multiple clusters #225

Open
eldadts opened this issue Mar 15, 2020 · 4 comments · May be fixed by #227
Open

hdfs-site.xml with multiple clusters #225

eldadts opened this issue Mar 15, 2020 · 4 comments · May be fixed by #227

Comments

@eldadts
Copy link

eldadts commented Mar 15, 2020

When using HADOOP_CONF_DIR or HADOOP_HOME, how to specify to which cluster you want to connect when the hdfs-site.xml file contain multiple clusters, and it's not fs.defaultFS?

@eldadts
Copy link
Author

eldadts commented Mar 22, 2020

after checking the source code there is a bug in hadoopConf.go -> when returning name nodes it actually drops the defaultFS (dfs.ha.namenodes.) and just keeps all the namenodes of ALL the clusters (dfs.namenode.rpc-address) ...

example files are attached
hdfs-files.zip

@j4ns8i j4ns8i linked a pull request Mar 24, 2020 that will close this issue
@j4ns8i
Copy link

j4ns8i commented Mar 24, 2020

@xtrimf I've submitted a PR that should fix your issues FYI ^

@eldadts
Copy link
Author

eldadts commented Mar 24, 2020

@j4ns8i tnx! when will this be merged so I can test it?

@j4ns8i
Copy link

j4ns8i commented Mar 24, 2020

@xtrimf not sure unfortunately. i'm unaffiliated with this project so it'll depend on collaboration with the maintainer(s) to get it merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants