ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [11/29] ambari git commit: AMBARI-18878. After entering wrong admin kdc credentials UI does not handle it and shows HTTP error 500 (intermittent) (dlysnichenko)
Date Wed, 16 Nov 2016 13:57:37 GMT
AMBARI-18878. After entering wrong admin kdc credentials UI does not handle it and shows HTTP
error 500 (intermittent) (dlysnichenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/3c7d8bda
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/3c7d8bda
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/3c7d8bda

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 3c7d8bda6f0f481fbb7743aacddaf64d635ebd1f
Parents: 4665c81
Author: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Authored: Tue Nov 15 13:13:34 2016 +0200
Committer: Lisnichenko Dmitro <dlysnichenko@hortonworks.com>
Committed: Tue Nov 15 13:13:34 2016 +0200

----------------------------------------------------------------------
 .../server/serveraction/kerberos/MITKerberosOperationHandler.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/3c7d8bda/ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/MITKerberosOperationHandler.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/MITKerberosOperationHandler.java
b/ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/MITKerberosOperationHandler.java
index a21d330..32aa19d 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/MITKerberosOperationHandler.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/MITKerberosOperationHandler.java
@@ -502,7 +502,7 @@ public class MITKerberosOperationHandler extends KerberosOperationHandler
{
       } else if (stdErr.contains("Cannot find KDC for requested realm while initializing
kadmin interface")) {
         throw new KerberosRealmException(stdErr);
       } else {
-        throw new KerberosOperationException("Unexpected error condition executing the kadmin
command");
+        throw new KerberosOperationException(String.format("Unexpected error condition executing
the kadmin command. STDERR: %s", stdErr));
       }
     }
 


Mime
View raw message