Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-2877

Add the ability to control the location of the QueryServer's log, out, and pid files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.7.0
    • 4.8.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’.

      Attachments

        1. PHOENIX-2877.patch
          4 kB
          Rob Leidle

        Activity

          People

            rleidle Rob Leidle
            rleidle Rob Leidle
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: