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

Navin Kumar updated HDDS-14805:
-------------------------------
    Description: 
docker-compose in compose/ozone-om-ha incorrectly substitutes log4j variable
 # Steps to reproduce
1. Navigate to compose/ozone-om-ha
2. Run docker-compose up -d
3. Observe warning:
WARN The "hostName" variable is not set. Defaulting to a blank string.
Invalid template: "${sys:hadoop.log.dir}/om-audit-${hostName}.log"

  was:
# Steps to reproduce
1. Navigate to compose/ozone-om-ha
2. Run docker-compose up -d
3. Observe warning:
WARN The "hostName" variable is not set. Defaulting to a blank string.
Invalid template: "${sys:hadoop.log.dir}/om-audit-${hostName}.log"


> Escape log4j variables in docker-compose templates.
> ---------------------------------------------------
>
>                 Key: HDDS-14805
>                 URL: https://issues.apache.org/jira/browse/HDDS-14805
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: docker-compose
>    Affects Versions: 2.0.0
>            Reporter: Navin Kumar
>            Assignee: Navin Kumar
>            Priority: Minor
>
> docker-compose in compose/ozone-om-ha incorrectly substitutes log4j variable
>  # Steps to reproduce
> 1. Navigate to compose/ozone-om-ha
> 2. Run docker-compose up -d
> 3. Observe warning:
> WARN The "hostName" variable is not set. Defaulting to a blank string.
> Invalid template: "${sys:hadoop.log.dir}/om-audit-${hostName}.log"



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to