sodonnel commented on code in PR #5146: URL: https://github.com/apache/ozone/pull/5146#discussion_r1288705199
########## hadoop-hdds/docs/content/feature/Decommission.md: ########## @@ -0,0 +1,72 @@ +--- +title: "Decommissioning" +weight: 1 +menu: + main: + parent: Features +summary: Decommissioning of SCM, OM and Datanode. +--- +<!--- + 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. +--> + +#DataNode Decommission + +The DataNode decommission is the process that removes the existing DataNode from the Ozone cluster while ensuring that the new data should not be written to the decommissioned DataNode. When you initiate the process of decommissioning a DataNode, Ozone automatically ensures that all the storage containers on that DataNode have an additional copy created on another DataNode before the decommission completes. + Review Comment: Is it worth adding a few lines about how the node will transition to DECOMMISSIONING while the decommission process is happening, and the current state of the DN can be queries via `ozone admin datanode list`. When the decommission completes the state will change to DECOMMISSIONED. Perhaps also worth pointing out the DN will keep running after it has been decommissioned and may be used for reads, but not for writes until it is stopped manually. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
