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

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.7.0
    • Fix Version/s: 4.8.0
    • Component/s: None
    • Labels:
      None
    • Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: