[
https://issues.apache.org/jira/browse/BIGTOP-988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13656648#comment-13656648
]
Sean Mackrory commented on BIGTOP-988:
--------------------------------------
I just haven't gotten around to testing my fix yet, but that is essentially the
approach I would take. init.d.tmpl would change to $WORKING_DIR after switching
su'ing to $SVC_USER. By default, it is the string "~/", but services can change
it (as, IMO, hcatalog should be switching to /var/run/hcatalog or something
instead of hive's ~).
> HCatalog does not launch daemon process in a known directory
> ------------------------------------------------------------
>
> Key: BIGTOP-988
> URL: https://issues.apache.org/jira/browse/BIGTOP-988
> Project: Bigtop
> Issue Type: Bug
> Reporter: Sean Mackrory
> Assignee: Sean Mackrory
> Priority: Blocker
>
> HCatalog launches the process in the current working directory, after which
> files may be created in the wrong location, and the hcatalog user (hive) may
> not even have permissions there!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira