Member since
11-28-2016
7
Posts
0
Kudos Received
0
Solutions
12-22-2016
06:57 AM
Hi Jay, after adding these 2 properties, my program is reading from /etc/krb5.conf but it is creating a ticket for 24 hour instead of 30 sec.
Following is the debug message:
Found ticket for hbase/ip@domain to go to krbtgt/domain@REALM expiring on Fri Dec 23 12:00:07 IST 2016
Entered Krb5Context.initSecContext with state=STATE_NEW
Found ticket for hbase/ip@REALM to go to krbtgt/domain@REALM expiring on Fri Dec 23 12:00:07 IST 2016
Service ticket not found in the subject
>>> Credentials acquireServiceCreds: same realm
Using builtin default etypes for default_tgs_enctypes
default etypes for default_tgs_enctypes: 18 17 16 23 1 3.
>>> CksumType: sun.security.krb5.internal.crypto.RsaMd5CksumType
>>> EType: sun.security.krb5.internal.crypto.Aes256CtsHmacSha1EType
>>> KrbKdcReq send: kdc=kdc.domain UDP:88, timeout=30000, number of retries =3, #bytes=714
>>> KDCCommunication: kdc=kdc.domain UDP:88, timeout=30000,Attempt =1, #bytes=714
>>> KrbKdcReq send: #bytes read=725
>>> KdcAccessibility: remove kdc.domain
>>> EType: sun.security.krb5.internal.crypto.Aes256CtsHmacSha1EType
>>> KrbApReq: APOptions are 00100000 00000000 00000000 00000000
>>> EType: sun.security.krb5.internal.crypto.Aes256CtsHmacSha1EType. Please let me know from where it is reading to create a ticket for 24 hour
... View more
12-22-2016
05:16 AM
Kindly help me to understand the logic.
... View more
12-21-2016
10:57 AM
yes it is same as u mentioned. I switched user to hdfs using su hdfs then gave jps, surprisingly DFSZKFailoverController was running, so killed the process using kill -9 <pid>, then tried starting it again from ambari, but its again stopping and no logs again getting logged.
... View more
12-21-2016
09:56 AM
Thanks Jay: Following command helped me curl -u admin:admin -H "X-Requested-By: ambari" -i -X POST http://erie1.example.com:8080/api/v1/clusters/ErieCluster/hosts/erie2.example.com/host_components/ZKFC But after installing it, its stopping and i am not able to see logs also under /var/log/hadoop/hdfs. Could u plz guide what could be the possible reason. While on the other nameNode, ZKFailOverController is working fine.
... View more
12-21-2016
06:47 AM
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop