Member since
01-19-2017
3679
Posts
632
Kudos Received
372
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 789 | 06-04-2025 11:36 PM | |
| 1370 | 03-23-2025 05:23 AM | |
| 681 | 03-17-2025 10:18 AM | |
| 2466 | 03-05-2025 01:34 PM | |
| 1607 | 03-03-2025 01:09 PM |
08-25-2017
05:38 PM
@Sam Red if you are root the remove the sudo ! What is the output of # systemctl status krb5kdc.service The result should be # systemctl status krb5kdc.service
● krb5kdc.service - Kerberos 5 KDC
Loaded: loaded (/usr/lib/systemd/system/krb5kdc.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2017-08-24 15:30:12 CEST; 1 day 4h ago
Main PID: 23781 (krb5kdc)
CGroup: /system.slice/krb5kdc.service
└─23781 /usr/sbin/krb5kdc -P /var/run/krb5kdc.pid
Aug 24 15:30:12 bombay.test.com systemd[1]: Starting Kerberos 5 KDC...
Aug 24 15:30:12 bombay.test.com systemd[1]: Started Kerberos 5 KDC Please let me know
... View more
08-25-2017
02:48 PM
@Kasim Shaik In the cluster_config.json change the following Stack_version to match your version "2.x" In the hostmap.json change the masterx,datanodex or ambari-server to match FQDN of the machines. Make sure you have internal repos to match the entries in repo.json and dputil-repo.jso Cli.txt change the "ambari-server" to match your FQDN of your Ambai server and launch them in that order Remeber to rename the *.json.txt to *.json as HCC doesn't accept .json file type upload
... View more
08-25-2017
02:30 PM
@Kasim Shaik With 6 machines you could have 2 master nodes for HDFS HA
1 edge node with clients/Ambari server
3 data nodes What version of HDP? Will you use Mysql for hive/ranger/oozie ? Is that fine for you
... View more
08-25-2017
02:11 PM
@Kasim Shaik Can you tell me the number of master node and datanodes or edge nodes you want in your cluster?
... View more
08-25-2017
01:15 PM
@Kasim Shaik Do you know how to use blueprints ? I could hep you on that to deploy without any fuss!
... View more
08-25-2017
08:39 AM
@Joshua Adeleke You have a configuration issue, your search filter is not correct hence throwing [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'dc=domain,dc=config,dc=com'] Can you align your setup with this official document attached? Can you past here your AD configurations and maybe the steps you went through.
... View more
08-24-2017
11:53 PM
@Sam Red On the KDC server which can be the same as the Ambari server or any server in the cluster install both rpm's on all # yum install -y krb5-server krb5-workstation Edit Server Configuration Files cd /var/kerberos/krb5kdc Edit these 2 files kdc.conf
kadm5.acl Mine are save # cat kadm5.acl
*/admin@TEST.COM * # cat kdc.conf [kdcdefaults]
kdc_ports = 88
kdc_tcp_ports = 88
[realms]
TEST.COM = {
#master_key_type = aes256-cts
acl_file = /var/kerberos/krb5kdc/kadm5.acl
dict_file = /usr/share/dict/words
admin_keytab = /var/kerberos/krb5kdc/kadm5.keytab
supported_enctypes = aes256-cts:normal aes128-cts:normal des3-hmac-sha1:normal arcfour-hmac:normal camellia256-cts:normal camellia128-cts:normal des-hmac-sha1:normal des-cbc-md5:normal des-cbc-crc:normal Edit the Client Configuration This file should be available on the KDC server edit it and copy it to the same path to all the other nodes # cat /etc/krb5.conf [libdefaults]
renew_lifetime = 7d
forwardable = true
default_realm = TEST.COM
ticket_lifetime = 24h
dns_lookup_realm = false
dns_lookup_kdc = false
default_ccache_name = /tmp/krb5cc_%{uid}
#default_tgs_enctypes = aes des3-cbc-sha1 rc4 des-cbc-md5
#default_tkt_enctypes = aes des3-cbc-sha1 rc4 des-cbc-md5
[domain_realm]
test.com = TEST.COM
.test.com = TEST.COM
[logging]
default = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
kdc = FILE:/var/log/krb5kdc.log
[realms]
TEST.COM = {
admin_server = kdc.TEST.com
kdc = kdc.test.com
}
} Note the FQDN Create the KDC Database # sudo kdb5_util create -s -r TEST.COM Confirm password twice Start and Enable Kerberos # systemctl start krb5kdc kadmin Create Principals # kadmin.local kadmin.local: addprinc root/admin quit # sudo systemctl start krb5kdc kadmin # sudo systemctl enable krb5kdc kadmin On the Ambari UI enable Kerberos root/admin@TEST.CH
password {password_created_earlier} This should take you through the procedure. Make sure the KDC is up and running !
... View more
08-24-2017
11:15 PM
@L Hurley Can you run # ifconfig Then grab the IP in the output and use it to access Ambari on http://IP_OUT:8080/ That should work
... View more
08-24-2017
11:11 PM
@Sam Red Did you create an admin principal? Are the krb5.conf file in /etc/krb5.conf? I just did kerberize a HDP 2.6 an hour ago without any issue what is the OS? We can quickly resolve that !
... View more