You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2016/09/21 13:29:38 UTC
[16/21] ambari git commit: AMBARI-18418. StackServiceDirectory debug
messages are logged with placeholders. (Attila Doroszlai via stoader)
AMBARI-18418. StackServiceDirectory debug messages are logged with placeholders. (Attila Doroszlai via stoader)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/159546ad
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/159546ad
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/159546ad
Branch: refs/heads/branch-dev-patch-upgrade
Commit: 159546ad988f5ff3eab26256bcb36cc660d8a839
Parents: e2e8c13
Author: Attila Doroszlai <ad...@hortonworks.com>
Authored: Wed Sep 21 10:09:50 2016 +0200
Committer: Toader, Sebastian <st...@hortonworks.com>
Committed: Wed Sep 21 10:09:50 2016 +0200
----------------------------------------------------------------------
.../ambari/server/stack/StackServiceDirectory.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/159546ad/ambari-server/src/main/java/org/apache/ambari/server/stack/StackServiceDirectory.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/stack/StackServiceDirectory.java b/ambari-server/src/main/java/org/apache/ambari/server/stack/StackServiceDirectory.java
index a8b4632..8656896 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/stack/StackServiceDirectory.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/stack/StackServiceDirectory.java
@@ -148,15 +148,15 @@ public class StackServiceDirectory extends ServiceDirectory {
int fileCount = files.length;
if (fileCount > 0) {
packageDir = absPackageDir.getPath().substring(stackDir.getParentFile().getParentFile().getPath().length() + 1);
- LOG.debug("Service package folder for service %s for stack %s has been resolved to %s",
+ LOG.debug("Service package folder for service {} for stack {} has been resolved to {}",
serviceDir.getName(), stackId, packageDir);
}
else {
- LOG.debug("Service package folder %s for service %s for stack %s is empty.",
+ LOG.debug("Service package folder {} for service {} for stack {} is empty.",
absPackageDir, serviceDir.getName(), stackId);
}
} else {
- LOG.debug("Service package folder %s for service %s for stack %s does not exist.",
+ LOG.debug("Service package folder {} for service {} for stack {} does not exist.",
absPackageDir, serviceDir.getName(), stackId);
}
@@ -166,15 +166,15 @@ public class StackServiceDirectory extends ServiceDirectory {
int fileCount = files.length;
if (fileCount > 0) {
upgradesDir = absUpgradesDir;
- LOG.debug("Service upgrades folder for service %s for stack %s has been resolved to %s",
+ LOG.debug("Service upgrades folder for service {} for stack {} has been resolved to {}",
serviceDir.getName(), stackId, packageDir);
}
else {
- LOG.debug("Service upgrades folder %s for service %s for stack %s is empty.",
+ LOG.debug("Service upgrades folder {} for service {} for stack {} is empty.",
absUpgradesDir, serviceDir.getName(), stackId);
}
} else {
- LOG.debug("Service upgrades folder %s for service %s for stack %s does not exist.",
+ LOG.debug("Service upgrades folder {} for service {} for stack {} does not exist.",
absUpgradesDir, serviceDir.getName(), stackId);
}
}