-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36366/
-----------------------------------------------------------

Review request for Ambari, Alejandro Fernandez and Nate Cole.


Bugs: AMBARI-12361
    https://issues.apache.org/jira/browse/AMBARI-12361


Repository: ambari


Description
-------

During an HDP 2.2 to 2.3 secure upgrade, NameNode can't restart:

```
...

2015-07-09 08:00:22,515 - hadoop-hdfs-namenode is currently at version 
2.2.0.0-2041
2015-07-09 08:00:22,577 - hadoop-hdfs-namenode is currently at version 
2.2.0.0-2041
2015-07-09 08:00:22,595 - call['hdfs haadmin -getServiceState nn1'] 
{'logoutput': True, 'user': 'hdfs'}
15/07/09 08:00:25 WARN ipc.Client: Exception encountered while connecting to 
the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by 
GSSException: No valid credentials provided (Mechanism level: Failed to find 
any Kerberos tgt)]
Operation failed: Failed on local exception: java.io.IOException: 
javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: 
No valid credentials provided (Mechanism level: Failed to find any Kerberos 
tgt)]; Host Details : local host is: 
"os-r6-qljsls-c2dalsec-13.openstacklocal/172.22.106.178"; destination host is: 
"os-r6-qljsls-c2dalsec-13.openstacklocal":8020; 
2015-07-09 08:00:25,350 - call returned (255, '15/07/09 08:00:25 WARN 
ipc.Client: Exception encountered while connecting to the server : 
javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: 
No valid credentials provided (Mechanism level: Failed to find any Kerberos 
tgt)]\nOperation failed: Failed on local exception: java.io.IOException: 
javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: 
No valid credentials provided (Mechanism level: Failed to find any Kerberos 
tgt)]; Host Details : local host is: 
"os-r6-qljsls-c2dalsec-13.openstacklocal/172.22.106.178"; destination host is: 
"os-r6-qljsls-c2dalsec-13.openstacklocal":8020; ')
```


Diffs
-----

  
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/utils.py
 d9180d8 

Diff: https://reviews.apache.org/r/36366/diff/


Testing
-------

mvn clean test

OK
----------------------------------------------------------------------
Total run:768
Total errors:0
Total failures:0

Applied patch to failing environment, kinit and hdfs commands succeeded


Thanks,

Jonathan Hurley

Reply via email to