| # |
| # 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. |
| # |
| |
| --- |
| kind: ConfigMap |
| apiVersion: v1 |
| metadata: |
| name: rss-configuration |
| namespace: kube-system |
| data: |
| coordinator.conf: |- |
| rss.coordinator.app.expired 60000 |
| rss.coordinator.exclude.nodes.file.path /data/rssadmin/rss/coo |
| rss.coordinator.server.heartbeat.timeout 30000 |
| rss.jetty.http.port 19996 |
| rss.rpc.server.port 19997 |
| log4j.properties: |- |
| log4j.rootCategory=INFO, RollingAppender |
| log4j.appender.console=org.apache.log4j.ConsoleAppender |
| log4j.appender.console.Threshold=INFO |
| log4j.appender.console.target=System.err |
| log4j.appender.console.layout=org.apache.log4j.PatternLayout |
| log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{1}: %m%n |
| log4j.appender.RollingAppender=org.apache.log4j.RollingFileAppender |
| log4j.appender.RollingAppender.File=./logs/rss.log |
| log4j.appender.RollingAppender.MaxFileSize=50MB |
| log4j.appender.RollingAppender.MaxBackupIndex=10 |
| log4j.appender.RollingAppender.layout=org.apache.log4j.PatternLayout |
| log4j.appender.RollingAppender.layout.ConversionPattern=[%p] %d %t %c{1} %M - %m%n |
| server.conf: |- |
| # these configurations in comments are generated by operator automatically |
| # rss.coordinator.quorum |
| # rss.jetty.http.port |
| # rss.rpc.server.port |
| # rss.storage.basePath |
| rss.rpc.executor.size 500 |
| rss.rpc.message.max.size 1073741824 |
| rss.server.app.expired.withoutHeartbeat 120000 |
| rss.server.buffer.capacity 60g |
| rss.server.commit.timeout 600000 |
| rss.server.disk.capacity 3g |
| rss.server.event.size.threshold.l1 128m |
| rss.server.event.size.threshold.l2 192m |
| rss.server.event.size.threshold.l3 256m |
| rss.server.flush.cold.storage.threshold.size 128m |
| rss.server.flush.thread.alive 6 |
| rss.server.flush.threadPool.size 12 |
| rss.server.hadoop.dfs.client.socket-timeout 15000 |
| rss.server.hadoop.dfs.replication 2 |
| rss.server.hdfs.base.path hdfs://${your-hdfs-path} |
| rss.server.health.check.enable false |
| rss.server.heartbeat.interval 10000 |
| rss.server.memory.shuffle.highWaterMark.percentage 70.0 |
| rss.server.memory.shuffle.lowWaterMark.percentage 10.0 |
| rss.server.pending.event.timeoutSec 600 |
| rss.server.preAllocation.expired 120000 |
| rss.server.read.buffer.capacity 5g |
| rss.server.shuffle.expired.timeout.ms 120000 |
| rss.server.write.retry.max 2 |
| rss.storage.type MEMORY_LOCALFILE |