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):
hadoop.security.authentication to simple
hadoop.security.authorization to false
hdfs-site.xml(HDFS):
dfs.datanode.address to 50010
dfs.datanode.http.address to 50075
hbase-site.xml(HBASE):
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.
zoo.cfg:
kerberos.removeHostFromPrincipal=true, kerberos.removeRealmFromPrincipal=truePermission:
Change the HDFS data directory permission to 755. Search for dfs.data.dir in hdfs-site.xml.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With