Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.7.0
-
None
-
None
-
Patch
Description
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’.