iwasakims commented on issue #615: BIGTOP-3300. Add puppet manifests for hadoop-kms. URL: https://github.com/apache/bigtop/pull/615#issuecomment-598746575 also tested on kerberos enabled cluster on config.yaml:: ``` docker: memory_limit: "8g" image: "bigtop/puppet:trunk-centos-7" distro: centos components: [kerberos, hdfs, yarn, kms] enable_local_repo: true smoke_test_components: [hdfs] ``` with the following configs in bigtop-deploy/puppet/hieradata/bigtop/cluster.yaml:: ``` # Kerberos hadoop::hadoop_security_authentication: "kerberos" kerberos::krb_site::domain: "bigtop.apache.org" kerberos::krb_site::realm: "BIGTOP.APACHE.ORG" kerberos::krb_site::kdc_server: "%{hiera('bigtop::hadoop_head_node')}" kerberos::krb_site::kdc_port: "88" kerberos::krb_site::admin_port: "749" kerberos::krb_site::keytab_export_dir: "/var/lib/bigtop_keytabs" hadoop::kerberos_realm: "%{hiera('kerberos::krb_site::realm')}" ``` test steps:: ``` $ cd provisioner/docker $ ./docker-hadoop.sh -c 3 $ ./docker-hadoop.sh --exec 3 /bin/bash # kinit -kt /etc/hdfs.keytab hdfs/$(hostname --fqdn) # hadoop key create key1 # hdfs dfs -mkdir /zone1 # hdfs crypto -createZone -keyName key1 -path /zone1 # hdfs dfs -put /etc/hosts /zone1/ # hdfs dfs -get /zone1/hosts /tmp/ ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
