hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandan Pal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-15488) hadoop-httpfs daemon gave up supervising hadoop-httpfs
Date Tue, 22 May 2018 09:39:00 GMT
Chandan Pal created HADOOP-15488:

             Summary: hadoop-httpfs daemon gave up supervising hadoop-httpfs
                 Key: HADOOP-15488
                 URL: https://issues.apache.org/jira/browse/HADOOP-15488
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 2.6.4
         Environment: [hadoop_2_6_4_0_91-httpfs-|http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos7/2.x/BUILDS/]




            Reporter: Chandan Pal

{color:#d04437}*_Mar 02 10:46:36 norad-13365-hadoop-mgr-1 sh[27852]: mkdir: cannot create
directory '/var/run/hadoop-httpfs': Permission denied_*{color}

{color:#d04437}*_Mar 02 10:46:36 norad-13365-hadoop-mgr-1 systemd[1]: hadoop-httpfs.service:
control process exited, code=exited status=1_*{color}

{color:#d04437}*_Mar 02 10:46:36 norad-13365-hadoop-mgr-1 systemd[1]: Failed to start The
Hadoop httpfs daemon._*{color}


Systemd service is configured (by creating symbolic link - /usr/hdp/current/hadoop-httpfs//usr/lib/systemd/system/hadoop-httpfs.service)
as part of yum installation. This service file create /var/run/hadoop-httpfs dir using "httpfs"
user. The 'httpfs' doesn't have permission due to that reason service failed after reboot
the system


Currently the issue is this


_ExecStartPre=/bin/sh -c 'test -d $HTTPFS_RUN || mkdir -p $HTTPFS_RUN'_
_ExecStartPre=/bin/sh -c 'test -d $HTTPFS_LOG || mkdir -p $HTTPFS_LOG'_

Hence the above ExecStartPre state create the $HTTPFS_RUN dir as httpfs user

If it is added with PermissionsStartOnly=true above 'ExecStartPre' line, 'ExecStartPre' executes
as a root and 'ExecStart' state is executed as httpfs user. 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org

View raw message