celeborn/conf/dynamicConfig.yaml.template
Wang, Fei d335c644aa [CELEBORN-1594] Refine dynamicConfig template and prevent NPE
### What changes were proposed in this pull request?

1. seems the quota.yaml is outdated, remove it
2. the config item set in dynamicConfig.yaml.template is not dynamic config, remove the one
3. prevent  NPE when loading dynamicConfig.yaml

### Why are the changes needed?
As title.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Existing UT.

Closes #2737 from turboFei/dynamic_config.

Authored-by: Wang, Fei <fwang12@ebay.com>
Signed-off-by: Shuang <lvshuang.xjs@alibaba-inc.com>
2024-09-15 22:11:23 +08:00

31 lines
1021 B
Plaintext

#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
- level: SYSTEM
config:
- tenantId: tenant_id
level: TENANT
config:
users:
- name: user_name
config:
celeborn.quota.tenant.diskBytesWritten: 100G
celeborn.quota.tenant.diskFileCount: 10000