[
https://issues.apache.org/jira/browse/PHOENIX-2877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Elser resolved PHOENIX-2877.
---------------------------------
Resolution: Fixed
Merged! Thanks again, [~rleidle], sorry for the delayed review.
> Add the ability to control the location of the QueryServer's log, out, and
> pid files
> ------------------------------------------------------------------------------------
>
> Key: PHOENIX-2877
> URL: https://issues.apache.org/jira/browse/PHOENIX-2877
> Project: Phoenix
> Issue Type: Improvement
> Affects Versions: 4.7.0
> Reporter: Rob Leidle
> Assignee: Rob Leidle
> Fix For: 4.8.0
>
> Attachments: PHOENIX-2877.patch
>
>
> Currently the QueryServer’s log, out, and pid file default to a location of
> /tmp/phoenix. The log location can be changed via PHOENIX_QUERYSERVER_OPTS
> but there is no way to control the location of out and pid files other than
> through the HBASE_PID_DIR variable. However, administrators may not desire
> the files to be in the HBase log directory. For example, if one follows the
> bigtop pattern these output files would be in /var/log/phoenix and the pid
> file would be in /var/run/phoenix. This change adds new phoenix specific
> environment variables to control the location.
> The new variables are given precedence over the HBase variables. In addition,
> the PHOENIX_QUERYSERVER_OPTS variable is now read from the environment first
> instead of ‘hbase-env.sh’.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)