hdfs - Hadoop datanode cannot communicate with KDC but the kinit works -


hadoop datanode cannot communicate kdc kinit works.

sudo kinit -k -t /etc/hadoop/conf/hdfs.keytab hdfs/symbio5.us-west-1.compute.internal@us-west-1.compute.internal

and udp port ok.

nc symbio5.us-west-1.compute.internal -v -z -u 88

connection symbio5.us-west-1.compute.internal 88 port [udp/kerberos] succeeded!

but in hadoop kerberos debug output, said "receive timed out".

krbasreq calling createmessage

krbasreq in createmessage

krbkdcreq send: kdc=symbio5.us-west-1.compute.internal udp:88, timeout=30000, number of retries =3, #bytes=216

kdccommunication: kdc=symbio5.us-west-1.compute.internal udp:88, timeout=30000,attempt =1, #bytes=216

sockettimeoutexception attempt: 1

kdccommunication: kdc=symbio5.us-west-1.compute.internal udp:88, timeout=30000,attempt =2, #bytes=216

sockettimeoutexception attempt: 2

kdccommunication: kdc=symbio5.us-west-1.compute.internal udp:88, timeout=30000,attempt =3, #bytes=216

sockettimeoutexception attempt: 3

krbkdcreq send: error trying symbio5.us-west-1.compute.internal java.net.sockettimeoutexception: receive timed out

but on symbio5 itself, has namenode , kdc , datanode, ok.

krbasreq calling createmessage

krbasreq in createmessage

krbkdcreq send: kdc=symbio5.us-west-1.compute.internal udp:88, timeout=30000, number of retries =3, #bytes=217

kdccommunication: kdc=symbio5.us-west-1.compute.internal udp:88, timeout=30000,attempt =1, #bytes=217

krbkdcreq send: #bytes read=776

krbkdcreq send: #bytes read=776

kdcaccessibility: remove symbio5.us-west-1.compute.internal

can give me helps? much.

finally fixed problem, make hadoop use tcp port communicate kerberos, not udp.

sudo vim /etc/krb5.conf

...

[libdefaults]

...

udp_preference_limit =1

...


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -