You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Evans Ye (JIRA)" <ji...@apache.org> on 2018/06/01 16:53:00 UTC

[jira] [Commented] (BIGTOP-3034) hadoop-httpfs daemon gave up supervising hadoop-httpfs

    [ https://issues.apache.org/jira/browse/BIGTOP-3034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16498221#comment-16498221 ] 

Evans Ye commented on BIGTOP-3034:
----------------------------------

Thanks for reporting. Please report the issue to Hortonworks. I'm sure they'd be happy to help.

If you find the issue happening in Bigtop as well. Feel free to reopen this Jira and update the environment settings.

 

 

> hadoop-httpfs daemon gave up supervising hadoop-httpfs
> ------------------------------------------------------
>
>                 Key: BIGTOP-3034
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-3034
>             Project: Bigtop
>          Issue Type: Bug
>            Reporter: Chandan Pal
>            Priority: Major
>
> {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
> _[Service]_
> _Type=forking_
> _User=httpfs_
> _Group=hadoop_
> _Restart=on-failure_
> _WorkingDirectory=-/var/run/hadoop-httpfs_
> _...._
> _...._
> _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
(v7.6.3#76005)