123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454 |
- <?xml version="1.0"?>
- <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
- <!--
- 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.
- -->
- <!-- Do not modify this file directly. Instead, copy entries that you -->
- <!-- wish to modify from this file into ozone-site.xml and change them -->
- <!-- there. If ozone-site.xml does not already exist, create it. -->
- <configuration>
- <property>
- <name>ozone.enabled</name>
- <value>false</value>
- <description>
- Status of the Ozone Object Storage service is enabled.
- Set to true to enable Ozone.
- Set to false to disable Ozone.
- </description>
- </property>
- <property>
- <name>ozone.handler.type</name>
- <value>local</value>
- <description>
- The second key dfs.storage.handler.type tells ozone which storage
- handler to use. The possible values are:
- distributed - The Ozone distributed storage handler.
- local - Local Storage handler strictly for testing.
- </description>
- </property>
- <property>
- <name>ozone.localstorage.root</name>
- <value>/tmp/ozone</value>
- <description>
- </description>
- </property>
- <property>
- <name>ozone.trace.enabled</name>
- <value>false</value>
- <description>
- </description>
- </property>
- <property>
- <name>ozone.container.metadata.dirs</name>
- <value></value>
- <description>
- Ozone metadata dir path.
- </description>
- </property>
- <property>
- <name>ozone.key.cache.size</name>
- <value>1024</value>
- <description>
- </description>
- </property>
- <property>
- <name>ozone.administrators</name>
- <value></value>
- <description>
- Ozone administrator users delimited by comma.
- If not set, only the user who launches an ozone service will be the
- admin user. This property must be set if ozone services are started by
- different users. Otherwise the RPC layer will reject calls from
- other servers which are started by users not in the list.
- </description>
- </property>
- <property>
- <name>ozone.client.socket.timeout.ms</name>
- <value>5000</value>
- <description>
- Socket timeout for Ozone client in milliseconds.
- </description>
- </property>
- <property>
- <name>ozone.client.connection.timeout.ms</name>
- <value>5000</value>
- <description>
- Connection timeout for Ozone client in milliseconds.
- </description>
- </property>
- <property>
- <name>ozone.scm.client.address</name>
- <value></value>
- <description>
- The address of the Ozone SCM client service. This is a required
- setting.
- It is a string in the host:port format. The port number is optional
- and defaults to 9860.
- </description>
- </property>
- <property>
- <name>ozone.scm.client.port</name>
- <value>9860</value>
- <description>
- The port number of the Ozone SCM client service.
- </description>
- </property>
- <property>
- <name>ozone.scm.datanode.address</name>
- <value></value>
- <description>
- The address of the Ozone SCM service used for internal communication
- between the DataNodes and the SCM.
- It is a string in the host:port format. The port number is optional
- and defaults to 9861.
- This setting is optional. If unspecified then the hostname portion
- is picked from the ozone.scm.client.address setting and the
- default service port of 9861 is chosen.
- </description>
- </property>
- <property>
- <name>ozone.scm.datanode.bind.host</name>
- <value></value>
- <description>
- The hostname or IP address used by the SCM service endpoint to bind.
- </description>
- </property>
- <property>
- <name>ozone.scm.datanode.port</name>
- <value>9861</value>
- <description>
- The port number of the Ozone SCM service.
- </description>
- </property>
- <property>
- <name>ozone.scm.client.bind.host</name>
- <value>0.0.0.0</value>
- <description>
- The hostname or IP address used by the SCM client endpoint to bind.
- This setting is used by the SCM only and never used by clients.
- The setting can be useful in multi-homed setups to restrict the
- availability of the SCM client service to a specific interface.
- The default is appropriate for most clusters.
- </description>
- </property>
- <property>
- <name>ozone.scm.internal.bind.host</name>
- <value>0.0.0.0</value>
- <description>
- The hostname or IP address used by the SCM DataNode handler service
- to bind. This setting is used by the SCM only and never used by
- clients or Data Nodes.
- The setting can be useful in multi-homed setups to restrict the
- availability of the SCM to a specific interface.
- The default is appropriate for most clusters.
- </description>
- </property>
- <property>
- <name>ozone.scm.block.client.address</name>
- <value></value>
- <description>
- The address of the Ozone SCM block client service.
- </description>
- </property>
- <property>
- <name>ozone.scm.block.client.bind.host</name>
- <value>0.0.0.0</value>
- <description>
- The hostname or IP address used by the SCM block client
- endpoint to bind.
- </description>
- </property>
- <property>
- <name>ozone.scm.block.client.port</name>
- <value>9863</value>
- <description>
- The port number of the Ozone SCM block client service.
- </description>
- </property>
- <property>
- <name>ozone.scm.handler.count.key</name>
- <value>20</value>
- <description>
- The number of RPC handler threads for each SCM service endpoint.
- The default is appropriate for small clusters (tens of nodes).
- </description>
- </property>
- <property>
- <name>ozone.scm.chunk.size</name>
- <value>1048576</value>
- <description>
- The chunk size for read/write chunk operations in bytes.
- The chunk size defaults to 1MB. If the value configured is more
- than the maximum size (1MB), it will be reset to the maximum
- size.
- </description>
- </property>
- <property>
- <name>ozone.scm.heartbeat.interval.seconds</name>
- <value>30</value>
- <description>
- The heartbeat interval from a datanode to SCM in seconds.
- </description>
- </property>
- <property>
- <name>ozone.scm.stale.node.interval.ms</name>
- <value>90000</value>
- <description>
- The interval in milliseconds for stale node flagging.
- </description>
- </property>
- <property>
- <name>ozone.scm.dead.node.interval.ms</name>
- <value>600000</value>
- <description>
- The interval in milliseconds for dead node flagging.
- </description>
- </property>
- <property>
- <name>ozone.scm.max.hb.count.to.process</name>
- <value>5000</value>
- <description>
- The maximum number of heartbeat to process per loop of the process
- thread.
- </description>
- </property>
- <property>
- <name>ozone.scm.heartbeat.thread.interval.ms</name>
- <value>3000</value>
- <description>
- The interval in milliseconds that the heartbeat processor thread runs.
- </description>
- </property>
- <property>
- <name>ozone.scm.heartbeat.rpc-timeout</name>
- <value>1000</value>
- <description>
- Timeout value for the RPC from Datanode to SCM in milliseconds.
- </description>
- </property>
- <property>
- <name>ozone.scm.heartbeat.log.warn.interval.count</name>
- <value>10</value>
- <description>
- Defines how frequently we will log the missing of heartbeat to SCM.
- For example in the default case, we will write a warning message for each 10
- sequential heartbeats that we miss to SCM.
- </description>
- </property>
- <property>
- <name>ozone.scm.names</name>
- <value></value>
- <description>
- The value of this property is a set of DNS | DNS:PORT | IP Address | IP:PORT.
- Written as a comma separated string. e.g. scm1, scm2:8020, 7.7.7.7:7777.
- This property allows datanodes to discover where SCM is, so that
- datanodes can send heartbeat to SCM.
- </description>
- </property>
- <property>
- <name>ozone.scm.datanode.id</name>
- <value></value>
- <description>
- The path that datanodes will created to store the datanode ID.
- If this value is not set, datanodes will fail to come up.
- </description>
- </property>
- <property>
- <name>ozone.scm.db.cache.size.mb</name>
- <value>128</value>
- <description>
- The cache size for SCM level db store in MB.
- </description>
- </property>
- <property>
- <name>ozone.scm.container.size.gb</name>
- <value>5</value>
- <description>
- Storage container size in GB for block allocations.
- </description>
- </property>
- <property>
- <name>ozone.scm.container.placement.impl</name>
- <value>org.apache.hadoop.ozone.scm.container.placement.algorithms.SCMContainerPlacementRandom</value>
- <description>
- Placement policy class for containers.
- Defaults to SCMContainerPlacementRandom.class
- </description>
- </property>
- <property>
- <name>ozone.scm.container.provision_batch_size</name>
- <value>1</value>
- <description>
- Pre-provision specified number of containers to creare for
- block creation.
- </description>
- </property>
- <property>
- <name>dfs.container.ipc</name>
- <value>50011</value>
- <description>
- The ipc port number of container.
- </description>
- </property>
- <property>
- <name>dfs.container.ipc.random.port</name>
- <value>false</value>
- <description>
- Whether allocates a random free port for ozone container.
- </description>
- </property>
- <property>
- <name>scm.container.client.idle.threshold</name>
- <value>10000</value>
- <description>
- </description>
- </property>
- <property>
- <name>scm.container.client.max.size</name>
- <value>256</value>
- <description>
- </description>
- </property>
- <property>
- <name>dfs.container.ratis.enabled</name>
- <value>false</value>
- <description>
- </description>
- </property>
- <property>
- <name>dfs.container.ratis.rpc.type</name>
- <value>GRPC</value>
- <description>
- </description>
- </property>
- <property>
- <name>dfs.container.ratis.server.id</name>
- <value></value>
- <description>
- The unique ID to identify a Ratis server.
- </description>
- </property>
- <property>
- <name>dfs.container.ratis.datanode.storage.dir</name>
- <value></value>
- <description>
- </description>
- </property>
- <!--KSM properties-->
- <property>
- <name>ozone.ksm.handler.count.key</name>
- <value>200</value>
- <description>
- The number of RPC handler threads for each KSM service endpoint.
- </description>
- </property>
- <property>
- <name>ozone.ksm.address</name>
- <value>0.0.0.0</value>
- <description>
- The address of the Ozone KSM service.
- </description>
- </property>
- <property>
- <name>ozone.ksm.leveldb.cache.size.mb</name>
- <value>128</value>
- <description>
- The size of KSM LevelDB cache in MB that used for caching files.
- </description>
- </property>
- <property>
- <name>ozone.ksm.user.max.volume</name>
- <value>1024</value>
- <description>
- The maximum number of volumes that each user can create.
- </description>
- </property>
- <property>
- <name>ozone.ksm.user.rights</name>
- <value>READ_WRITE</value>
- <description>
- Default user permissions in Ozone KSM.
- </description>
- </property>
- <property>
- <name>ozone.ksm.group.rights</name>
- <value>READ_WRITE</value>
- <description>
- Default group permissions in Ozone KSM.
- </description>
- </property>
- </configuration>
|