Yang, Tong 6182f91ba8 MRS component operation guide_normal 2.0.38.SP20 version
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>
2022-12-09 14:55:21 +00:00

42 lines
3.6 KiB
HTML

<a name="mrs_01_0808"></a><a name="mrs_01_0808"></a>
<h1 class="topictitle1">Setting the Maximum Lifetime and Renewal Interval of a Token</h1>
<div id="body1590130535014"><div class="section" id="mrs_01_0808__s31094180f9134214a748d9ca53bc160b"><h4 class="sectiontitle">Scenario</h4><p id="mrs_01_0808__a628e5433a26e41dc8685ce3efabc8445">In security mode, users can flexibly set the maximum token lifetime and token renewal interval in HDFS based on cluster requirements.</p>
</div>
<div class="section" id="mrs_01_0808__s197701de33064592934bc47670ae9664"><h4 class="sectiontitle">Configuration Description</h4><p id="mrs_01_0808__a0c73d78fe5574d97bf4eb0d94c049a7e"><strong id="mrs_01_0808__b199945382353">Navigation path for setting parameters:</strong></p>
<p id="mrs_01_0808__p39519895015">Go to the <strong id="mrs_01_0808__b17198154451116">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_0808__tb95a3819257e4c7e89f55c9a8cd3bcda" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameter description</caption><thead align="left"><tr id="mrs_01_0808__rd0d1bf7aab3a4cbbb33c83f7529bed99"><th align="left" class="cellrowborder" valign="top" width="28.13%" id="mcps1.3.2.4.2.4.1.1"><p id="mrs_01_0808__a022e7bd4976641ae86b2bd7e4b11a292"><strong id="mrs_01_0808__b14420102317192">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_0808__a78a77f3837894245993a9cfa3b85544f"><strong id="mrs_01_0808__b98841724131917">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_0808__a36691cdc40684a428012b9afb61e8640"><strong id="mrs_01_0808__b71491826191918">Default Value</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_01_0808__r01e08ed271054fa0a01aa3df6529bac1"><td class="cellrowborder" valign="top" width="28.13%" headers="mcps1.3.2.4.2.4.1.1 "><p id="mrs_01_0808__a50d53b79f4d544b0bd20b758e4358bb8">dfs.namenode.delegation.token.max-lifetime</p>
</td>
<td class="cellrowborder" valign="top" width="56.14%" headers="mcps1.3.2.4.2.4.1.2 "><p id="mrs_01_0808__ab8e02842a1dc4b988e2226433a7c1dc9">This parameter is a server parameter. It specifies the maximum lifetime of a token. Unit: milliseconds. Value range: 10,000 to 10,000,000,000,000</p>
</td>
<td class="cellrowborder" valign="top" width="15.73%" headers="mcps1.3.2.4.2.4.1.3 "><p id="mrs_01_0808__add85f2bde17f44d29350e8af6d0b5d45">604,800,000</p>
</td>
</tr>
<tr id="mrs_01_0808__r24e3e6433bcf4d3ebaea5c6bf866e43a"><td class="cellrowborder" valign="top" width="28.13%" headers="mcps1.3.2.4.2.4.1.1 "><p id="mrs_01_0808__a57d74d47e6ad45a79e748876483f7dbb">dfs.namenode.delegation.token.renew-interval</p>
</td>
<td class="cellrowborder" valign="top" width="56.14%" headers="mcps1.3.2.4.2.4.1.2 "><p id="mrs_01_0808__a113b039991384c1f89b1bbdd118c3cc2">This parameter is a server parameter. It specifies the maximum lifetime to renew a token. Unit: milliseconds. Value range: 10,000 to 10,000,000,000,000</p>
</td>
<td class="cellrowborder" valign="top" width="15.73%" headers="mcps1.3.2.4.2.4.1.3 "><p id="mrs_01_0808__a43b2f82745ac43feae5c0642d1a00816">86,400,000</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>