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时出现以下报错,namenode无法正常安装 #560

Open
3 tasks done
taoqibao0513 opened this issue May 20, 2024 · 9 comments
Open
3 tasks done
Labels
bug Something isn't working

Comments

@taoqibao0513
Copy link

Search before asking

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

What happened

所用mysql版本为5.7.26版本,所用datasophon1.2.1版本,所用DDP包为1.2.1版本,安装环境为默认官网环境,但无法正常安装hdfs。
开始安装hdfs时出现zkfc报错
[ERROR] 2024-05-20 10:38:53 TaskLogLogger-HDFS-ZKFC:[197] -
[INFO] 2024-05-20 10:38:53 TaskLogLogger-HDFS-ZKFC:[182] - .
control_hadoop.sh: line 61: kill: (14800) - No such process
zkfc is not running

[ERROR] 2024-05-20 10:38:53 TaskLogLogger-HDFS-ZKFC:[197] -
[INFO] 2024-05-20 10:38:53 TaskLogLogger-HDFS-ZKFC:[175] - execute shell command : [sudo, -u, hdfs, bash, control_hadoop.sh, start, zkfc]
[INFO] 2024-05-20 10:38:55 TaskLogLogger-HDFS-ZKFC:[182] - .
execute ./bin/hdfs --daemon start zkfc
zkfc start success
End start zkfc.

[INFO] 2024-05-20 10:38:55 TaskLogLogger-HDFS-ZKFC:[154] - script execute success
[ERROR] 2024-05-20 10:38:55 TaskLogLogger-HDFS-ZKFC:[197] -
[INFO] 2024-05-20 10:38:55 TaskLogLogger-HDFS-ZKFC:[71] - check start result at times 1
[INFO] 2024-05-20 10:38:55 TaskLogLogger-HDFS-ZKFC:[175] - execute shell command : [sudo, -u, hdfs, bash, control_hadoop.sh, status, zkfc]
[INFO] 2024-05-20 10:38:55 TaskLogLogger-HDFS-ZKFC:[182] - .
zkfc is running
End status zkfc.

[ERROR] 2024-05-20 10:38:55 TaskLogLogger-HDFS-ZKFC:[197] -
[INFO] 2024-05-20 10:38:55 TaskLogLogger-HDFS-ZKFC:[154] - script execute success
[INFO] 2024-05-20 10:38:55 TaskLogLogger-HDFS-ZKFC:[74] - start success in hadoop-3.3.3
[INFO] 2024-05-20 10:59:07 TaskLogLogger-HDFS-ZKFC:[175] - execute shell command : [sudo, -u, hdfs, bash, control_hadoop.sh, status, zkfc]
[INFO] 2024-05-20 10:59:07 TaskLogLogger-HDFS-ZKFC:[182] - .
zkfc is running
End status zkfc.

[ERROR] 2024-05-20 10:59:07 TaskLogLogger-HDFS-ZKFC:[197] -
[INFO] 2024-05-20 10:59:07 TaskLogLogger-HDFS-ZKFC:[154] - script execute success
[INFO] 2024-05-20 10:59:07 TaskLogLogger-HDFS-ZKFC:[175] - execute shell command : [sudo, -u, hdfs, bash, control_hadoop.sh, stop, zkfc]
[INFO] 2024-05-20 10:59:08 TaskLogLogger-HDFS-ZKFC:[182] - .
zkfc stop success
End stop zkfc.

[INFO] 2024-05-20 10:59:08 TaskLogLogger-HDFS-ZKFC:[154] - script execute success
[ERROR] 2024-05-20 10:59:08 TaskLogLogger-HDFS-ZKFC:[197] -
[INFO] 2024-05-20 10:59:08 TaskLogLogger-HDFS-ZKFC:[104] - check stop result at times 1
[INFO] 2024-05-20 10:59:08 TaskLogLogger-HDFS-ZKFC:[175] - execute shell command : [sudo, -u, hdfs, bash, control_hadoop.sh, status, zkfc]
[INFO] 2024-05-20 10:59:09 TaskLogLogger-HDFS-ZKFC:[182] - .
zkfc pid file is not exists

[INFO] 2024-05-20 10:59:09 TaskLogLogger-HDFS-ZKFC:[107] - stop success in hadoop-3.3.3
[ERROR] 2024-05-20 10:59:09 TaskLogLogger-HDFS-ZKFC:[197] -
[INFO] 2024-05-20 11:24:06 TaskLogLogger-HDFS-ZKFC:[82] - Start to configure service role ZKFC
[INFO] 2024-05-20 11:24:06 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-05-20 11:24:06 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-05-20 11:24:06 TaskLogLogger-HDFS-ZKFC:[181] - configure success
[INFO] 2024-05-20 11:24:06 TaskLogLogger-HDFS-ZKFC:[263] - size is :1
[INFO] 2024-05-20 11:24:06 TaskLogLogger-HDFS-ZKFC:[266] - config set value to /data/dfs/nn
[INFO] 2024-05-20 11:24:06 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-05-20 11:24:06 TaskLogLogger-HDFS-ZKFC:[263] - size is :1
[INFO] 2024-05-20 11:24:06 TaskLogLogger-HDFS-ZKFC:[266] - config set value to /data/dfs/dn
[INFO] 2024-05-20 11:24:06 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-05-20 11:24:06 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-05-20 11:24:06 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-05-20 11:24:06 TaskLogLogger-HDFS-ZKFC:[181] - configure success
[INFO] 2024-05-20 11:24:06 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-05-20 11:24:06 TaskLogLogger-HDFS-ZKFC:[263] - size is :4
[INFO] 2024-05-20 11:24:06 TaskLogLogger-HDFS-ZKFC:[266] - config set value to RULE:2:$1/$2@$0s/./hdfs/
RULE:2:$1/$2@$0s/.
/yarn/
RULE:2:$1/$2@$0s/./mapred/
DEFAULT
[INFO] 2024-05-20 11:24:06 TaskLogLogger-HDFS-ZKFC:[181] - configure success
[INFO] 2024-05-20 11:24:06 TaskLogLogger-HDFS-ZKFC:[181] - configure success
[INFO] 2024-05-20 11:24:06 TaskLogLogger-HDFS-ZKFC:[41] - start to execute hdfs zkfc -formatZK
[INFO] 2024-05-20 11:29:06 TaskLogLogger-HDFS-ZKFC:[53] - zkfc format failed
[INFO] 2024-05-20 13:18:07 TaskLogLogger-HDFS-ZKFC:[82] - Start to configure service role ZKFC
[INFO] 2024-05-20 13:18:07 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-05-20 13:18:07 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-05-20 13:18:07 TaskLogLogger-HDFS-ZKFC:[181] - configure success
[INFO] 2024-05-20 13:18:07 TaskLogLogger-HDFS-ZKFC:[263] - size is :1
[INFO] 2024-05-20 13:18:07 TaskLogLogger-HDFS-ZKFC:[266] - config set value to /data/dfs/nn
[INFO] 2024-05-20 13:18:07 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-05-20 13:18:07 TaskLogLogger-HDFS-ZKFC:[263] - size is :1
[INFO] 2024-05-20 13:18:07 TaskLogLogger-HDFS-ZKFC:[266] - config set value to /data/dfs/dn
[INFO] 2024-05-20 13:18:07 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-05-20 13:18:07 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-05-20 13:18:07 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-05-20 13:18:07 TaskLogLogger-HDFS-ZKFC:[181] - configure success
[INFO] 2024-05-20 13:18:07 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-05-20 13:18:07 TaskLogLogger-HDFS-ZKFC:[263] - size is :4
[INFO] 2024-05-20 13:18:07 TaskLogLogger-HDFS-ZKFC:[266] - config set value to RULE:2:$1/$2@$0s/.
/hdfs/
RULE:2:$1/$2@$0s/./yarn/
RULE:2:$1/$2@$0s/.
/mapred/
DEFAULT
[INFO] 2024-05-20 13:18:07 TaskLogLogger-HDFS-ZKFC:[181] - configure success
[INFO] 2024-05-20 13:18:07 TaskLogLogger-HDFS-ZKFC:[181] - configure success
[INFO] 2024-05-20 13:18:07 TaskLogLogger-HDFS-ZKFC:[41] - start to execute hdfs zkfc -formatZK
[INFO] 2024-05-20 13:18:08 TaskLogLogger-HDFS-ZKFC:[182] - �[31m 欢迎来到Redhat Linux 操作系统�[0m
�[1;31m 请合理使用云主机分配内存,所有应用目录建议使用/data目录;�[0m
�[1;31m 系统后期维护,建议不要使用lvm方式扩容根(/)目录. �[0m
�[1;31m 系统未分配swap,请自行添加swap分区,百度即可,swap分区有利于节约内存开销;�[0m
zkfc is running as process 17853. Stop it first and ensure /opt/datasophon/hadoop-3.3.3/pid/hadoop-hdfs-zkfc.pid file is empty before retry.
Last login: Mon May 20 13:18:07 CST 2024

[INFO] 2024-05-20 13:18:08 TaskLogLogger-HDFS-ZKFC:[53] - zkfc format failed
[ERROR] 2024-05-20 13:18:08 TaskLogLogger-HDFS-ZKFC:[197] -

还没有跳到其他地方已经停止了安装工作。
can not find log file
只能成功安装 JournalNode,并且在查看zookeeper时,出现经常报错,得等待很长时间才能安装成功。

What you expected to happen

安装zkfc失败后,没有namenode,无法安装yarn,导致后续一大堆组件无法安装。希望可以通过官方安装,正确引导下安装成功hdfs及后续的组件。

How to reproduce

按照官方流程,正常搭建服务后,出现此类情况。

Anything else

每次在搭建时都会出现。

Version

v1.1.2

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@taoqibao0513 taoqibao0513 added the bug Something isn't working label May 20, 2024
@datasophon
Copy link
Member

这看起来是你的操作系统不支持安装zkfc

@taoqibao0513
Copy link
Author

这看起来是你的操作系统不支持安装zkfc
你好,我这边运行的linux版本为:Linux version 3.10.0-1160.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) ) #1 SMP Tue Aug 18 14:50:17 EDT 2020,操作系统的版本为Red Hat Enterprise Linux Server release 7.9 (Maipo),请问有什么改进的建议么

@datasophon
Copy link
Member

image
看起来是启动脚本在你的系统中无法执行

@kieryum
Copy link

kieryum commented Jul 5, 2024

这是我的日志: zkfc 依然没有正常启动

[INFO] 2024-07-04 07:06:00 TaskLogLogger-HDFS-ZKFC:[59] - hadoop-3.3.3 already started
[ERROR] 2024-07-04 07:06:00 TaskLogLogger-HDFS-ZKFC:[197] -
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[175] - execute shell command : [sudo, -u, hdfs, bash, control_hadoop.sh, status, zkfc]
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[182] - .
control_hadoop.sh: line 61: kill: (5411) - No such process
zkfc is not running

[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[123] - hadoop-3.3.3 already stopped
[ERROR] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[197] -
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[82] - Start to configure service role ZKFC
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[181] - configure success
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[263] - size is :1
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[266] - config set value to /data/dfs/nn
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[263] - size is :1
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[266] - config set value to /data/dfs/dn
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[181] - configure success
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[263] - size is :4
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[266] - config set value to RULE:2:$1/$2@$0s/./hdfs/
RULE:2:$1/$2@$0s/.
/yarn/
RULE:2:$1/$2@$0s/.*/mapred/
DEFAULT
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[181] - configure success
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[181] - configure success
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[175] - execute shell command : [bash, control_hadoop.sh, status, zkfc]
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[182] - .
control_hadoop.sh: line 61: kill: (5411) - No such process
zkfc is not running

[ERROR] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[197] -
[INFO] 2024-07-04 07:08:50 TaskLogLogger-HDFS-ZKFC:[175] - execute shell command : [sudo, -u, hdfs, bash, control_hadoop.sh, start, zkfc]
[INFO] 2024-07-04 07:08:52 TaskLogLogger-HDFS-ZKFC:[182] - .
execute ./bin/hdfs --daemon start zkfc
zkfc start success
End start zkfc.

[INFO] 2024-07-04 07:08:52 TaskLogLogger-HDFS-ZKFC:[154] - script execute success
[ERROR] 2024-07-04 07:08:52 TaskLogLogger-HDFS-ZKFC:[197] -
[INFO] 2024-07-04 07:08:52 TaskLogLogger-HDFS-ZKFC:[71] - check start result at times 1
[INFO] 2024-07-04 07:08:52 TaskLogLogger-HDFS-ZKFC:[175] - execute shell command : [sudo, -u, hdfs, bash, control_hadoop.sh, status, zkfc]
[INFO] 2024-07-04 07:08:52 TaskLogLogger-HDFS-ZKFC:[182] - .
zkfc is running
End status zkfc.

[INFO] 2024-07-04 07:08:52 TaskLogLogger-HDFS-ZKFC:[154] - script execute success
[INFO] 2024-07-04 07:08:52 TaskLogLogger-HDFS-ZKFC:[74] - start success in hadoop-3.3.3
[ERROR] 2024-07-04 07:08:52 TaskLogLogger-HDFS-ZKFC:[197] -
[INFO] 2024-07-04 07:22:49 TaskLogLogger-HDFS-ZKFC:[175] - execute shell command : [sudo, -u, hdfs, bash, control_hadoop.sh, status, zkfc]
[INFO] 2024-07-04 07:22:49 TaskLogLogger-HDFS-ZKFC:[182] - .
zkfc is running
End status zkfc.

[INFO] 2024-07-04 07:22:49 TaskLogLogger-HDFS-ZKFC:[154] - script execute success
[ERROR] 2024-07-04 07:22:49 TaskLogLogger-HDFS-ZKFC:[197] -
[INFO] 2024-07-04 07:22:49 TaskLogLogger-HDFS-ZKFC:[175] - execute shell command : [sudo, -u, hdfs, bash, control_hadoop.sh, stop, zkfc]
[INFO] 2024-07-04 07:22:50 TaskLogLogger-HDFS-ZKFC:[182] - .
zkfc stop success
End stop zkfc.

[INFO] 2024-07-04 07:22:50 TaskLogLogger-HDFS-ZKFC:[154] - script execute success
[ERROR] 2024-07-04 07:22:50 TaskLogLogger-HDFS-ZKFC:[197] -
[INFO] 2024-07-04 07:22:50 TaskLogLogger-HDFS-ZKFC:[104] - check stop result at times 1
[INFO] 2024-07-04 07:22:50 TaskLogLogger-HDFS-ZKFC:[175] - execute shell command : [sudo, -u, hdfs, bash, control_hadoop.sh, status, zkfc]
[INFO] 2024-07-04 07:22:50 TaskLogLogger-HDFS-ZKFC:[182] - .
zkfc pid file is not exists

[INFO] 2024-07-04 07:22:50 TaskLogLogger-HDFS-ZKFC:[107] - stop success in hadoop-3.3.3
[ERROR] 2024-07-04 07:22:50 TaskLogLogger-HDFS-ZKFC:[197] -
[INFO] 2024-07-04 07:29:11 TaskLogLogger-HDFS-ZKFC:[86] - Remote package md5 is a307e097d66da00636e44cd32148a13a
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[91] - Local md5 is a307e097d66da00636e44cd32148a13a
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[82] - Start to configure service role ZKFC
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[181] - configure success
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[263] - size is :1
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[266] - config set value to /data/dfs/nn
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[263] - size is :1
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[266] - config set value to /data/dfs/dn
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[181] - configure success
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[263] - size is :4
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[266] - config set value to RULE:2:$1/$2@$0s/./hdfs/
RULE:2:$1/$2@$0s/.
/yarn/
RULE:2:$1/$2@$0s/./mapred/
DEFAULT
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[181] - configure success
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[181] - configure success
[INFO] 2024-07-04 07:29:15 TaskLogLogger-HDFS-ZKFC:[41] - start to execute hdfs zkfc -formatZK
[INFO] 2024-07-04 07:34:15 TaskLogLogger-HDFS-ZKFC:[53] - zkfc format failed
[INFO] 2024-07-04 20:42:08 TaskLogLogger-HDFS-ZKFC:[86] - Remote package md5 is a307e097d66da00636e44cd32148a13a
[INFO] 2024-07-04 20:42:15 TaskLogLogger-HDFS-ZKFC:[91] - Local md5 is a307e097d66da00636e44cd32148a13a
[INFO] 2024-07-04 20:42:15 TaskLogLogger-HDFS-ZKFC:[82] - Start to configure service role ZKFC
[INFO] 2024-07-04 20:42:15 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 20:42:15 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 20:42:15 TaskLogLogger-HDFS-ZKFC:[181] - configure success
[INFO] 2024-07-04 20:42:15 TaskLogLogger-HDFS-ZKFC:[263] - size is :1
[INFO] 2024-07-04 20:42:15 TaskLogLogger-HDFS-ZKFC:[266] - config set value to /data/dfs/nn
[INFO] 2024-07-04 20:42:15 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 20:42:15 TaskLogLogger-HDFS-ZKFC:[263] - size is :1
[INFO] 2024-07-04 20:42:15 TaskLogLogger-HDFS-ZKFC:[266] - config set value to /data/dfs/dn
[INFO] 2024-07-04 20:42:15 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 20:42:15 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 20:42:15 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 20:42:15 TaskLogLogger-HDFS-ZKFC:[181] - configure success
[INFO] 2024-07-04 20:42:15 TaskLogLogger-HDFS-ZKFC:[117] - Convert boolean and integer to string
[INFO] 2024-07-04 20:42:15 TaskLogLogger-HDFS-ZKFC:[263] - size is :4
[INFO] 2024-07-04 20:42:15 TaskLogLogger-HDFS-ZKFC:[266] - config set value to RULE:2:$1/$2@$0s/.
/hdfs/
RULE:2:$1/$2@$0s/./yarn/
RULE:2:$1/$2@$0s/.
/mapred/
DEFAULT
[INFO] 2024-07-04 20:42:15 TaskLogLogger-HDFS-ZKFC:[181] - configure success
[INFO] 2024-07-04 20:42:15 TaskLogLogger-HDFS-ZKFC:[181] - configure success

@MuziMin0222
Copy link

请问上述问题是否有得到解决,我用麒麟V10 X86服务器搭建的DataSophon也出现了这样的问题

@chenss-1
Copy link
Contributor

chenss-1 commented Aug 2, 2024

请问上述问题是否有得到解决,我用麒麟V10 X86服务器搭建的DataSophon也出现了这样的问题
我将会在新版本增加zkfc和namenode强制格式化,来避免此错误发生,来避免zkfc格式化失败,建议先手动清理zookeeper中存储的zkfc信息,手动清理namenode的存储目录,然后重新安装hdfs,

@MuziMin0222
Copy link

目前已经解决了,感谢您~

@zishui-web
Copy link

image
ubuntu 图系统安装hdfs出现这个,有哪位大佬遇到过

1 similar comment
@zishui-web
Copy link

image
ubuntu 图系统安装hdfs出现这个,有哪位大佬遇到过

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

6 participants