[
https://issues.apache.org/jira/browse/HDDS-12688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-12688:
------------------------------------
Description:
{{hadoop-ozone/integration-test/src/test/resources/ozone-site.xml}} defines
some settings that are useful for test environment to reduce space/memory
needs. These are not applied to other modules (e.g. {{integration-test-s3}},
etc.) or external components that use {{mini-cluster}}. The goal of this task
is to add (some of) the settings in {{mini-cluster}} as defaults.
{{Configuration#setIfUnset()}} does not work, because {{get(String)}} (without
a default value) returns the value from {{ozone-default}}. It looks like
{{setIfUnset}} only works with property names not defined in any config XML, or
properties without default value ({{<value/>}}).
was:
{{hadoop-ozone/integration-test/src/test/resources/ozone-site.xml}} defines
some settings that are useful for test environment to reduce space/memory
needs. These are not applied to other modules or external components that use
{{mini-cluster}}. The goal of this task is to add (some of) the settings in
{{mini-cluster}} as defaults.
{{Configuration#setIfUnset()}} does not work, because {{get(String)}} (without
a default value) returns the value from {{ozone-default}}. It looks like
{{setIfUnset}} only works with property names not defined in any config XML, or
properties without default value ({{<value/>}}).
> Set test-friendly defaults in mini-cluster
> ------------------------------------------
>
> Key: HDDS-12688
> URL: https://issues.apache.org/jira/browse/HDDS-12688
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: test
> Reporter: Attila Doroszlai
> Assignee: Huang Kuan Hao
> Priority: Major
>
> {{hadoop-ozone/integration-test/src/test/resources/ozone-site.xml}} defines
> some settings that are useful for test environment to reduce space/memory
> needs. These are not applied to other modules (e.g. {{integration-test-s3}},
> etc.) or external components that use {{mini-cluster}}. The goal of this
> task is to add (some of) the settings in {{mini-cluster}} as defaults.
> {{Configuration#setIfUnset()}} does not work, because {{get(String)}}
> (without a default value) returns the value from {{ozone-default}}. It looks
> like {{setIfUnset}} only works with property names not defined in any config
> XML, or properties without default value ({{<value/>}}).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]