You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/01/25 21:30:00 UTC

[jira] [Work logged] (TRAFODION-2626) Log/Conf seperation from TRAF_HOME

     [ https://issues.apache.org/jira/browse/TRAFODION-2626?focusedWorklogId=190203&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-190203 ]

ASF GitHub Bot logged work on TRAFODION-2626:
---------------------------------------------

                Author: ASF GitHub Bot
            Created on: 25/Jan/19 21:29
            Start Date: 25/Jan/19 21:29
    Worklog Time Spent: 10m 
      Work Description: svarnau commented on pull request #1781: [TRAFODION-2626] Change pathes of sqconf, ms.env, sqcert, udr
URL: https://github.com/apache/trafodion/pull/1781
 
 
   This changeset covers the remaining instances of hard-coded paths based
   on TRAF_HOME for dynamic files that should be in specific paths such as
   TRAF_CONF or TRAF_VAR.
   
   All files referenced via TRAF_HOME should be read-only software, not written
   during run-time.
   
   I was able to test this premise by setting TRAF_CONF, _LOG, _VAR, and rundir variables to alternates paths and then change the entire core/sqf tree as read-only (except local_hadoop). In this environment of read-only TRAF_HOME, I bring up instance and run all SQL regressions.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 190203)
            Time Spent: 10m
    Remaining Estimate: 0h

> Log/Conf seperation from TRAF_HOME
> ----------------------------------
>
>                 Key: TRAFODION-2626
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2626
>             Project: Apache Trafodion
>          Issue Type: Improvement
>            Reporter: Steve Varnau
>            Assignee: Steve Varnau
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Dynamic files (configuration and log files) should be separated from delivered software.  It should be possible to have config files in /etc, log files in /var/log, and runtime software in /usr or /opt.
> First step is to have conf and log variables separate from TRAF_HOME.
> Proposal is to add following variables which can be used either in development or production environments to specify locations:
> TRAF_HOME - executable / read-only locations
> TRAF_CONF - configuration files location
> TRAF_LOG - ouput logging location
> TRAF_VAR - temporary / status files (node-local pid files, lock files, etc)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)