You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sw...@apache.org on 2013/11/11 19:29:56 UTC
git commit: AMBARI-3739. Remove Exception message printed to log for
successful starts. (swagle)
Updated Branches:
refs/heads/trunk fd38de564 -> 2ad9c330c
AMBARI-3739. Remove Exception message printed to log for successful starts. (swagle)
Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/2ad9c330
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/2ad9c330
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/2ad9c330
Branch: refs/heads/trunk
Commit: 2ad9c330c670defd4968562a4167f8583ca354d4
Parents: fd38de5
Author: Siddharth Wagle <sw...@hortonworks.com>
Authored: Mon Nov 11 10:08:48 2013 -0800
Committer: Siddharth Wagle <sw...@hortonworks.com>
Committed: Mon Nov 11 10:17:20 2013 -0800
----------------------------------------------------------------------
.../java/org/apache/ambari/server/configuration/Configuration.java | 2 +-
.../ambari/server/security/encryption/MasterKeyServiceImpl.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/2ad9c330/ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java b/ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
index 59404fe..cf749a9 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
@@ -422,7 +422,7 @@ public class Configuration {
this.credentialProvider = new CredentialProvider(null,
getMasterKeyLocation(), isMasterKeyPersisted());
} catch (Exception e) {
- LOG.info("Credential provider creation failed.\n" + e.getMessage());
+ LOG.info("Credential provider creation failed. Reason: " + e.getMessage());
if (LOG.isDebugEnabled()) {
e.printStackTrace();
}
http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/2ad9c330/ambari-server/src/main/java/org/apache/ambari/server/security/encryption/MasterKeyServiceImpl.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/security/encryption/MasterKeyServiceImpl.java b/ambari-server/src/main/java/org/apache/ambari/server/security/encryption/MasterKeyServiceImpl.java
index 3b15db4..219c14b 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/security/encryption/MasterKeyServiceImpl.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/security/encryption/MasterKeyServiceImpl.java
@@ -106,7 +106,7 @@ public class MasterKeyServiceImpl implements MasterKeyService {
if (key != null) {
this.master = key.toCharArray();
} else {
- LOG.error("Master key is not provided as a System property or an " +
+ LOG.debug("Master key is not provided as a System property or an " +
"environment varialble.");
}
}