Mohammad Arshad created BIGTOP-3941:
---------------------------------------
Summary: DataNode start is failing with Permission denied error
Key: BIGTOP-3941
URL: https://issues.apache.org/jira/browse/BIGTOP-3941
Project: Bigtop
Issue Type: Bug
Components: hadoop
Affects Versions: 3.2.0
Environment: centos7
Reporter: Mohammad Arshad
Built bigtop 3.2.0 and install hadoop cluser. data node start is failing with
following error
{noformat}
resource_management.core.exceptions.ExecutionFailed: Execution of
'ambari-sudo.sh su hdfs -l -s /bin/bash -c 'ulimit -c unlimited ;
/usr/bigtop/3.2.0/usr/lib/hadoop/sbin/hadoop-daemon.sh --config
/etc/hadoop/conf start datanode'' returned 1. -bash: line 0: ulimit: core file
size: cannot modify limit: Operation not permitted
/usr/bigtop/3.2.0/usr/lib/hadoop/libexec/hadoop-config.sh: line 79:
/usr/bigtop/3.2.0/usr/lib/hadoop/libexec/hadoop-layout.sh: Permission denied
WARNING: Use of this script to start HDFS daemons is deprecated.
WARNING: Attempting to execute replacement "hdfs --daemon start" instead.
{noformat}
looks except all other files have correct permission
{noformat}
-rwxr-xr-x. 1 root root 5457 May 10 18:29 hadoop-config.sh
-rwxr-xr-x. 1 root root 77268 May 10 18:29 hadoop-functions.sh
-rw-r-----. 1 root root 1398 May 10 18:29 hadoop-layout.sh
-rwxr-xr-x. 1 root root 3735 May 10 18:29 hdfs-config.sh
-rwxr-xr-x. 1 root root 11619 May 10 18:29 init-hcfs.groovy
-rwxr-xr-x. 1 root root 5228 May 10 18:29 init-hcfs.json
-rwxr-xr-x. 1 root root 1843 May 10 18:29 init-hdfs.sh
-rwxr-xr-x. 1 root root 2808 May 10 18:29 mapred-config.sh
drwxr-xr-x. 2 root root 4096 May 12 04:49 shellprofile.d
drwxr-xr-x. 2 root root 4096 May 12 04:49 tools
-rwxr-xr-x. 1 root root 3129 May 10 18:29 yarn-config.sh
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)