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.

+3


source to share


2 answers


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 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

+3


source


Rajesh N. suggested changing values โ€‹โ€‹in properties; But simply commenting out these properties and restarting the cluster will result in a simple cluster; If you want to enable protection, you can simply uncomment the same properties and restart the cluster;



0


source







All Articles