You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Rob Leidle (JIRA)" <ji...@apache.org> on 2016/05/04 17:08:13 UTC

[jira] [Updated] (PHOENIX-2877) Add the ability to control the location of the QueryServer's log, out, and pid files

     [ https://issues.apache.org/jira/browse/PHOENIX-2877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Leidle updated PHOENIX-2877:
--------------------------------
    Attachment: PHOENIX-2877.patch

> 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
>         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)