美文网首页
kylo&kerberos相关

kylo&kerberos相关

作者: 夜空最亮的9星 | 来源:发表于2018-09-04 20:33 被阅读25次

    问题1

    image

    问题2


    image

    kadmin.local

    添加用户
    addprinc -randkey nifi@HYPERS.CC

    导出keytab

    xst -norandkey -k /etc/security/keytabs/nifi.headless.keytab nifi@HYPERS.CC

    exit

    chown nifi:hadoop /etc/security/keytabs/nifi.headless.keytab

    chmod 440 /etc/security/keytabs/nifi.headless.keytab

    Test that the keytab works. You can initialize your keytab file using below command.

    su - nifi

    kinit -kt /etc/security/keytabs/nifi.headless.keytab nifi

    klist

    hadoop fs -chown -R hive:supergroup /tmp

    hdfs dfs -mkdir /archive /etl /model.db /app /app/warehouse

    hadoop fs -setfacl -m user:nifi:rwx /archive
    hadoop fs -setfacl -m user:nifi:rwx /etl
    hadoop fs -setfacl -m user:nifi:rwx /model.db
    hadoop fs -setfacl -m user:nifi:rwx /app/warehouse

    相关文章

      网友评论

          本文标题:kylo&kerberos相关

          本文链接:https://www.haomeiwen.com/subject/rqvnwftx.html