You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ec...@apache.org on 2018/03/06 14:27:35 UTC
[ambari] branch trunk updated: AMBARI-23082. Install-mpack --purge
does not works (echekanskiy)
This is an automated email from the ASF dual-hosted git repository.
echekanskiy pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new 8cd0a62 AMBARI-23082. Install-mpack --purge does not works (echekanskiy)
8cd0a62 is described below
commit 8cd0a62612bcdc5f5b6ec239817f799f07c7ae09
Author: Eugene Chekanskiy <ec...@gmail.com>
AuthorDate: Mon Feb 26 14:09:20 2018 +0200
AMBARI-23082. Install-mpack --purge does not works (echekanskiy)
---
.../main/java/org/apache/ambari/server/checks/MpackInstallChecker.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/checks/MpackInstallChecker.java b/ambari-server/src/main/java/org/apache/ambari/server/checks/MpackInstallChecker.java
index d471c1f..da83eb4 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/checks/MpackInstallChecker.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/checks/MpackInstallChecker.java
@@ -28,6 +28,7 @@ import java.util.Map;
import org.apache.ambari.server.audit.AuditLoggerModule;
import org.apache.ambari.server.controller.ControllerModule;
+import org.apache.ambari.server.ldap.LdapModule;
import org.apache.ambari.server.orm.DBAccessor;
import org.apache.commons.cli.CommandLine;
import org.apache.commons.cli.CommandLineParser;
@@ -203,7 +204,7 @@ public class MpackInstallChecker {
*/
public static void main(String[] args) throws Exception {
- Injector injector = Guice.createInjector(new ControllerModule(), new MpackCheckerAuditModule());
+ Injector injector = Guice.createInjector(new ControllerModule(), new MpackCheckerAuditModule(), new LdapModule());
MpackInstallChecker mpackInstallChecker = injector.getInstance(MpackInstallChecker.class);
MpackContext mpackContext = processArguments(args);
--
To stop receiving notification emails like this one, please contact
echekanskiy@apache.org.