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

[Bug] [Module Name] Bug title 部署 HDFS,NameNode 白名单和黑名单文件没有使用页面变量配置的值 #622

Open
3 tasks done
gohonsen opened this issue Oct 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@gohonsen
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

安装 HDFS 时,页面变量配置 dfs.hosts 对应的值是 ${HADOOP_HOME}/etc/hadoop/workers ,但是创建的文件是 ${HADOOP_HOME}/etc/hadoop/whitelist , 看代码是没有取页面变量配置的值,而是写死了文件路径 :
fileOperateCommand.setPath(Constants.INSTALL_PATH + "/hadoop/etc/hadoop/" + type);

What you expected to happen

创建 dfs.hosts 对应的文件时,使用页面 dfs.hosts 变量配置的值。

How to reproduce

创建 dfs.hosts 对应的文件时,先获取页面变量配置的值,没有页面配置再写死文件路径。

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant