Masatake Iwasaki created BIGTOP-4472:
----------------------------------------
Summary: Fix invalid permission of hadoop-layout.sh
Key: BIGTOP-4472
URL: https://issues.apache.org/jira/browse/BIGTOP-4472
Project: Bigtop
Issue Type: Bug
Reporter: Masatake Iwasaki
Assignee: Masatake Iwasaki
Starting hadoop services failed due to invalid permission (0200) of
hadoop-config.sh.
{noformat}
Error: Systemd start for hadoop-hdfs-namenode failed!
journalctl log for hadoop-hdfs-namenode:
Jul 19 06:06:33 d2cdaffc4669 systemd[1]: Starting Hadoop NameNode...
Jul 19 06:06:33 d2cdaffc4669 hdfs[9365]:
//usr/lib/hadoop/libexec/hadoop-config.sh: line 79:
//usr/lib/hadoop/libexec/hadoop-layout.sh: Permission denied
Jul 19 06:06:33 d2cdaffc4669 hdfs[9365]: ERROR: HADOOP_COMMON_HOME or related
vars are not configured.
Jul 19 06:06:33 d2cdaffc4669 systemd[1]: hadoop-hdfs-namenode.service: Control
process exited, code=exited, status=1/FAILURE
Jul 19 06:06:33 d2cdaffc4669 systemd[1]: hadoop-hdfs-namenode.service: Failed
with result 'exit-code'.
Jul 19 06:06:33 d2cdaffc4669 systemd[1]: Failed to start Hadoop NameNode.
{noformat}
While the issue is only reproducible on specific envireonment (building aarch64
RPM using Docker Desktop on Mac mini M4 for me), it should be nice to fix for
stable build.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)