Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3941

DataNode start is failing with Permission denied error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.0
    • None
    • hadoop
    • None
    • centos7

    Description

      Built bigtop 3.2.0 and installed hadoop cluser. data node start is failing with following error

      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.
      

      looks except all other files have correct permission

      -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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            arshad.mohammad Mohammad Arshad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m