forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
36 lines
3.7 KiB
HTML
36 lines
3.7 KiB
HTML
<a name="mrs_01_1669"></a><a name="mrs_01_1669"></a>
|
||
|
||
<h1 class="topictitle1">Configuring the Damaged Disk Volume</h1>
|
||
<div id="body1595904094267"><div class="section" id="mrs_01_1669__se9a5b790a3ca4da8b5c73d5bc03c0976"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_1669__a64c644a246234131b439fed218bdfbb9">In the open source version, if multiple data storage volumes are configured for a DataNode, the DataNode stops providing services by default if one of the volumes is damaged. You can change the value of <span class="parmname" id="mrs_01_1669__p41ee43b1847545938c00ff261db9d422"><b>dfs.datanode.failed.volumes.tolerated</b></span> to specify the number of damaged disk volumes that are allowed. If the number of damaged volumes does not exceed the threshold, DataNode continues to provide services.</p>
|
||
</div>
|
||
<div class="section" id="mrs_01_1669__sc580f9673a7c45898dacbb3ce0733f73"><h4 class="sectiontitle">Configuration Description</h4><p id="mrs_01_1669__a6c8adcc889a349be9a30e0fd287a80eb"><strong id="mrs_01_1669__a5e112ec75e4c4b1da9a3ae3629e5c6ed">Navigation path for setting parameters:</strong></p>
|
||
<p id="mrs_01_1669__p39519895015">Go to the <strong id="mrs_01_1669__b122371363452915">All Configurations</strong> page of HDFS and enter a parameter name in the search box by referring to <a href="mrs_01_2125.html">Modifying Cluster Service Configuration Parameters</a>.</p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_1669__t2fe78eb57edc4ea38081c73c9fc41d26" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="mrs_01_1669__r9394ce0031654c36bfa119191eb38a3c"><th align="left" class="cellrowborder" valign="top" width="28.13%" id="mcps1.3.2.4.2.4.1.1"><p id="mrs_01_1669__a16395d3f4950468c9bcb643f8ebcd17b"><strong id="mrs_01_1669__a1fda7bef58d447a7b437c2c7f4e8e637">Parameter</strong></p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="56.14%" id="mcps1.3.2.4.2.4.1.2"><p id="mrs_01_1669__a51eb4d304b514f1d9f0e059767045c41"><strong id="mrs_01_1669__a34cd8869c2a44d3a923adc2d0938c526">Description</strong></p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="15.73%" id="mcps1.3.2.4.2.4.1.3"><p id="mrs_01_1669__aef5c423c898f4b0a8bb684be692c0c7b"><strong id="mrs_01_1669__a687f33097c124b94ae8b5e1c4cc1b951">Default Value</strong></p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="mrs_01_1669__ra7c78809570e480db860c9fe084231a9"><td class="cellrowborder" valign="top" width="28.13%" headers="mcps1.3.2.4.2.4.1.1 "><p id="mrs_01_1669__a47f9f99fc90240b7a4ec386c0a8c39e9">dfs.datanode.failed.volumes.tolerated</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="56.14%" headers="mcps1.3.2.4.2.4.1.2 "><p id="mrs_01_1669__p129531312181810">Specifies the number of damaged volumes that are allowed before the DataNode stops providing services. By default, there must be at least one valid volume. The value <strong id="mrs_01_1669__b156070575752915">-1</strong> indicates that the minimum value of a valid volume is <strong id="mrs_01_1669__b45920889552915">1</strong>. The value greater than or equal to <strong id="mrs_01_1669__b99690923152915">0</strong> indicates the number of damaged volumes that are allowed.</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="15.73%" headers="mcps1.3.2.4.2.4.1.3 "><p id="mrs_01_1669__p1218816275235">Versions earlier than MRS 3.x: 0</p>
|
||
<p id="mrs_01_1669__aa47d5ae855354547ace7ccf275e61210">MRS 3.<em id="mrs_01_1669__i41741322544">x</em> or later: –1</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0790.html">Using HDFS</a></div>
|
||
</div>
|
||
</div>
|
||
|