You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2018/06/08 17:40:00 UTC

[jira] [Created] (AMBARI-24064) Missing LdapFacade in HostUpdateHelper

Dmitry Lysnichenko created AMBARI-24064:
-------------------------------------------

             Summary: Missing LdapFacade in HostUpdateHelper
                 Key: AMBARI-24064
                 URL: https://issues.apache.org/jira/browse/AMBARI-24064
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.7.0
            Reporter: Dmitry Lysnichenko
            Assignee: Dmitry Lysnichenko
             Fix For: 2.7.0


The following error is encountered when executing executing
{noformat}
ambari-server update-host-names host_names_changes.json
{noformat}

{noformat}
2018-06-07 18:04:12,933 ERROR [main] HostUpdateHelper:573 - Unexpected error, host names update failed
com.google.inject.CreationException: Unable to create injector, see the following errors:

1) No implementation for org.apache.ambari.server.ldap.service.LdapFacade was bound.
  while locating org.apache.ambari.server.ldap.service.LdapFacade
    for the 1st parameter of org.apache.ambari.server.controller.internal.AmbariServerLDAPConfigurationHandler.<init>(AmbariServerLDAPConfigurationHandler.java:53)
  while locating org.apache.ambari.server.controller.internal.AmbariServerLDAPConfigurationHandler
    for field at org.apache.ambari.server.controller.internal.RootServiceComponentConfigurationHandlerFactory.ldapConfigurationHandler(RootServiceComponentConfigurationHandlerFactory.java:33)
  while locating org.apache.ambari.server.controller.internal.RootServiceComponentConfigurationHandlerFactory
    for field at org.apache.ambari.server.controller.internal.RootServiceComponentConfigurationResourceProvider.rootServiceComponentConfigurationHandlerFactory(RootServiceComponentConfigurationResourceProvider.java:48)
  at org.apache.ambari.server.controller.ResourceProviderFactory.getRootServiceHostComponentConfigurationResourceProvider(ResourceProviderFactory.java:1)
  at com.google.inject.assistedinject.FactoryProvider2.initialize(FactoryProvider2.java:666)
  at com.google.inject.assistedinject.FactoryModuleBuilder$1.configure(FactoryModuleBuilder.java:335) (via modules: org.apache.ambari.server.update.HostUpdateHelper$UpdateHelperModule -> com.google.inject.assistedinject.FactoryModuleBuilder$1)

1 error
        at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:470)
        at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:176)
        at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:110)
        at com.google.inject.Guice.createInjector(Guice.java:99)
        at com.google.inject.Guice.createInjector(Guice.java:73)
        at com.google.inject.Guice.createInjector(Guice.java:62)
        at org.apache.ambari.server.update.HostUpdateHelper.main(HostUpdateHelper.java:544)
{noformat}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)