You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Yi Zhou (JIRA)" <ji...@apache.org> on 2014/07/06 02:21:33 UTC

[jira] [Comment Edited] (BIGTOP-236) The user installed by hbase gets an incorrect home directory

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

Yi Zhou edited comment on BIGTOP-236 at 7/6/14 12:19 AM:
---------------------------------------------------------

As per Peter's description, the user of 'hbase' gets '/var/run/hbase' as home directory shown in /etc/passwd after  HBase component be installed via bigtop. Now we change the home directory of 'hbase' user to '/var/lib/hbase' via hbase.mk in bigtop packaging.

Please see below details for example in /etc/passwd:
Original:
hbase:x:493:493:HBase:/var/run/hbase:/sbin/nologin
Changed:
hbase:x:493:493:HBase:/var/lib/hbase:/sbin/nologin


was (Author: jameszhouyi):
As per Peter's description, the user of 'hbase' gets '/var/run/hbase' as home directory shown in /etc/passwd after  HBase component be installed via bigtop. Now we change the home directory of 'hbase' user to '/var/lib/hbase'. 

Please see below details for example:
Original:
hbase:x:493:493:HBase:/var/run/hbase:/sbin/nologin
Changed:
hbase:x:493:493:HBase:/var/lib/hbase:/sbin/nologin

> The user installed by hbase gets an incorrect home directory
> ------------------------------------------------------------
>
>                 Key: BIGTOP-236
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-236
>             Project: Bigtop
>          Issue Type: Task
>          Components: General
>    Affects Versions: 0.1.0, 0.7.0
>            Reporter: Peter Linnell
>            Assignee: Peter Linnell
>            Priority: Trivial
>              Labels: patch
>         Attachments: BIGTOP-236.patch, BIGTOP-236_2.patch
>
>
> HBase installs its user with a home directory of /var/run/hbase which is inconsistent with other components and should really be /var/lib/hbase



--
This message was sent by Atlassian JIRA
(v6.2#6252)