HBase + Kerberos ?????????1??
???????????? ???????[ 2015/7/17 11:24:17 ] ??????????????????
?????ù?hbase???????????й??????????????д???java client??????????zookeeper quorum???????hbase????????????????????????????ν????hbase????????kerberos??????????????????????hbase + kerberos????????????????????kerberos?????á?
????· ???????
????· kerberos???
????· kerberos server????
????· kerberos client????
???????????
??????????????????server??????????centos 6.5 64bit
????kb1: kerberos server
????kbhbase1: kerberos client?? ???????????????HBase
????kbjavatest1: kerberos client?? ???????????????java???????kbhbase1???hbase?????
????kerberos???
????kerberos????????????????????????????????????????KDC????KDC????????????????????????“??”???????“????”??“????”???????????????????????????????????“????”???KDC??????KDC?????????????KDC??????????????裬????????????????/???????????????????kerberos??????????????μ??????Explain like I’m 5: Kerberos??
????kerberos server????
???????
????#yum install krb5-libs krb5-server krb5-workstation
????????
????1??#vim /etc/krb5.conf
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
[libdefaults]
default_realm = MH.COM
dns_lookup_realm = false
dns_lookup_kdc = false
ticket_lifetime = 24h
renew_lifetime = 7d
forwardable = true
[realms]
MH.COM = {
kdc = kb1.mh.com:88
admin_server = kb1.mh.com:749
}
[domain_realm]
.mh.com = MH.COM
mh.com = MH.COM
????2??#vim /var/kerberos/krb5kdc/kdc.conf
[kdcdefaults]
kdc_ports = 88
kdc_tcp_ports = 88
[realms]
MH.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 des-hmac-sha1:normal des-cbc-md5:normal des-cbc-crc:normal
}
????kerberos?е?realm????kerberos????????????????????"domain"????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11