[
https://issues.apache.org/jira/browse/BIGTOP-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055358#comment-14055358
]
Mark Grover commented on BIGTOP-236:
------------------------------------
I agree with the intent of this JIRA and the issue. On newer OS's /var/run is
tempfs and it makes sense for the user's home directory to persist across
reboots, and be in /var/lib. We make /var/lib as home for most of our
components anyways, so it's good to be consistent anyways.
However, I do think there are a few other places we will have to update in
addition to what the patch proposes
For the service init script:
bigtop-packages/src/common/hbase/hbase.svc
For debian side of things:
bigtop-packages/src/deb/hbase/hbase.dirs
bigtop-packages/src/deb/hbase/hbase.postinst
Adding an entry to the %files macro:
bigtop-packages/src/rpm/hbase/SPECS/hbase.spec
I have a patch ready but I want to give the opportunity to Yi first in case he
wants to update his patch to make these additional changes. Please feel free to
go ahead and make these changes.
> 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)