问题描述
我使用内部脚本来设置Hadoop集群。它默认配置Hadoop安全与Kerberos。这对于开发环境来说非常不方便。
我搜索了很多,但结果都是关于如何启用...。
请帮忙给一些参考或建议。 更改这些值包括:
core-site.xml(HDFS):
hadoop.security.authentication 至简单
hadoop.security.authorization 至 false
hdfs-site.xml(HDFS): b
$ 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 。
- 注释这些行如果存在: kerberos。 removeHostFromPrincipal = true , kerberos.removeRealmFromPrincipal = true
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
Comment these properties if present: hbase.regionserver.kerberos.principal, hbase.regionserver.keytab.file, hbase.master.kerberos.principal, hbase.master.keytab.file, hbase.rpc.engine.
- Comment these line if present: kerberos.removeHostFromPrincipal=true, kerberos.removeRealmFromPrincipal=true
hbase-site.xml(HBASE):
$ b
权限:
将HDFS数据目录权限更改为 755 。在 hdfs-site.xml 中搜索 dfs.data.dir 。
参考:
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):
zoo.cfg:
Permission:
Change the HDFS data directory permission to 755. Search for dfs.data.dir in hdfs-site.xml.
Reference: https://groups.google.com/a/cloudera.org/forum/#!topic/cdh-user/7_1DEdpdY3E
这篇关于如何禁用Hadoop Kerberos的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!