如何禁用Hadoop Kerberos [英] How to disable Hadoop Kerberos
问题描述
我使用内部脚本来设置Hadoop集群。它默认配置Hadoop安全与Kerberos。这对于开发环境来说非常不方便。
我搜索了很多,但结果都是关于如何启用...。
请帮忙给一些参考或建议。 更改这些值包括:
core-site.xml(HDFS): hdfs-site.xml(HDFS): b hbase-site.xml(HBASE): 权限: 将HDFS数据目录权限更改为 在所有节点上进行这些更改。重新启动群集并检查它是否被禁用。 参考: https://groups.google.com/a/cloudera.org/forum/#!topic/cdh -user / 7_1DEdpdY3E I used a internal script to setup a Hadoop cluster. It configured Hadoop security with Kerberos by default. This is very inconvenient for a developing environment. I googled a lot, but the results are all about "how to enable ...". Please help to give some reference or advice. Change the values for: core-site.xml(HDFS): hdfs-site.xml(HDFS): hbase-site.xml(HBASE): Comment these properties if present: zoo.cfg: Permission: Change the HDFS data directory permission to Do these changes on all nodes. Restart your cluster and check if its disabled. Reference: https://groups.google.com/a/cloudera.org/forum/#!topic/cdh-user/7_1DEdpdY3E 这篇关于如何禁用Hadoop Kerberos的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
hadoop.security.authentication
至简单
hadoop.security.authorization
至 false
$ b
dfs.datanode.address
至 50010
dfs.datanode.http.address
至 50075
hbase.security.authentication
至简单
hbase.security.authorization
至 false
注释这些属性如果存在: hbase.regionserver.kerberos.principal
, HBA se.regionserver.keytab.file
, hbase.master.kerberos.principal
, hbase.master.keytab.file
, hbase.rpc.engine
。
$ b
kerberos。 removeHostFromPrincipal = true
, kerberos.removeRealmFromPrincipal = true
755
。在 hdfs-site.xml
中搜索 dfs.data.dir
。
hadoop.security.authentication
to simple
hadoop.security.authorization
to false
dfs.datanode.address
to 50010
dfs.datanode.http.address
to 50075
hbase.security.authentication
to simple
hbase.security.authorization
to false
hbase.regionserver.kerberos.principal
, hbase.regionserver.keytab.file
, hbase.master.kerberos.principal
, hbase.master.keytab.file
, hbase.rpc.engine
.
kerberos.removeHostFromPrincipal=true
, kerberos.removeRealmFromPrincipal=true
755
. Search for dfs.data.dir
in hdfs-site.xml
.