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

标签 authentication hadoop kerberos

我正在使用使用 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认证工作正常。如果我禁用此属性,那么我在启动节点时会收到错误。

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

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

最佳答案

我在下面的链接中找到了答案

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

Secret File

关于authentication - Hadoop 身份验证 http-signature.secret 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28560413/

相关文章:

authentication - 授权服务器上的 session 起什么作用?

excel - 试图获取基本公司信息 - API 给出 ​​{“error” :”Empty Authorization header”, ”type”:”ch:service”}

symfony - 如何在 Symfony2 中使用两个不同的表进行身份验证

hadoop - 什么是 sqoop 中的 --direct 模式?

authentication - 在具有域用户的 Windows 上使用 Ansible

hadoop - Ranger 和 Kerberos

facebook - 桌面网页游戏策略更改允许哪些参数?

hadoop - 处理错误 : Found interface org. apache.hadoop.mapreduce.TaskAttemptContext,但类是预期的

java - 如何使用亚马逊的 EMR 在 CLI 中使用自定义 jar 指定 mapred 配置和 java 选项?

hadoop - 从 Hue UI 执行的 Oozie 中的 Hive 操作失败