How to disable Hadoop Kerberos
I used an internal script to install a Hadoop cluster. He configured Hadoop security with Kerberos by default. This is very inconvenient for a developing environment.
I have googled a lot but the results are all about "how to include ...".
Please help us make recommendations or recommendations.
source to share
Change the values โโfor:
core-site.xml (HDFS):
-
hadoop.security.authentication
tosimple
-
hadoop.security.authorization
tofalse
HDFS-site.xml (HDFS):
-
dfs.datanode.address
to50010
-
dfs.datanode.http.address
to50075
HBase-site.xml (HBase):
-
hbase.security.authentication
tosimple
-
hbase.security.authorization
tofalse
-
Comment on these properties if they are:
hbase.regionserver.kerberos.principal
,hbase.regionserver.keytab.file
,hbase.master.kerberos.principal
,hbase.master.keytab.file
,hbase.rpc.engine
.
zoo.cfg:
- Comment on this line if it is:
kerberos.removeHostFromPrincipal=true
,kerberos.removeRealmFromPrincipal=true
Resolution:
Change the resolution of the HDFS data directory to 755
. Find dfs.data.dir
in hdfs-site.xml
.
Perform these changes on all nodes. Restart the cluster and check if it is disabled.
Link: https://groups.google.com/a/cloudera.org/forum/#!topic/cdh-user/7_1DEdpdY3E
source to share