Hadoop 身份验证 http-signature.secret 文件

Hadoop Authentication http-signature.secret file

我正在使用受 kerberos 身份验证保护的 hadoop-2.6.0。对于 http 身份验证,有一个名为 hadoop.http.authentication.signature.secret.file

的 属性

我在 core-site.xml

中设置了这个 属性
<property>
    <name>hadoop.http.authentication.signature.secret.file</name>
    <value>C:\http-signature.secret</value>
</property>

并且 http-signature.secret 文件为空。但是 http 身份验证工作正常。如果我禁用此 属性 那么我在启动节点时遇到错误。

我想知道这个秘密文件的用途。为什么要设置这个属性?我已经用谷歌搜索了,但找不到原因。

帮助我了解这个文件的用法。

我在下面找到了答案link

http://hadoop.apache.org/docs/stable1/HttpAuthentication.html