Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19029

Atlas web UI inaccessible alert after enabling Namenode-HA

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • ambari-server

    Description

      After enabling Namenode-HA, atlas had a critical alert that "This host-level alert is triggered if the Metadata Server Web UI is unreachable."

      From atlas logs I can see :

      Exception in thread "main" java.lang.ExceptionInInitializerError
              at java.lang.Class.forName0(Native Method)
              at java.lang.Class.forName(Class.java:264)
              at org.apache.atlas.ApplicationProperties.getClass(ApplicationProperties.java:115)
              at org.apache.atlas.util.AtlasRepositoryConfiguration.getDeleteHandlerImpl(AtlasRepositoryConfiguration.java:76)
              at org.apache.atlas.RepositoryMetadataModule.configure(RepositoryMetadataModule.java:104)
              at com.google.inject.AbstractModule.configure(AbstractModule.java:62)
              at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340)
              at com.google.inject.spi.Elements.getElements(Elements.java:110)
              at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138)
              at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104)
              at com.google.inject.Guice.createInjector(Guice.java:99)
              at com.google.inject.Guice.createInjector(Guice.java:84)
              at org.apache.atlas.web.listeners.GuiceServletConfig.getInjector(GuiceServletConfig.java:77)
              at com.google.inject.servlet.GuiceServletContextListener.contextInitialized(GuiceServletContextListener.java:47)
              at org.apache.atlas.web.listeners.GuiceServletConfig.contextInitialized(GuiceServletConfig.java:141)
              at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
              at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)
              at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)
              at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)
              at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
              at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
              at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
              at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
              at org.eclipse.jetty.server.Server.start(Server.java:387)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
              at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
              at org.eclipse.jetty.server.Server.doStart(Server.java:354)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
              at org.apache.atlas.web.service.EmbeddedServer.start(EmbeddedServer.java:92)
              at org.apache.atlas.Atlas.main(Atlas.java:118)
      

      Attachments

        1. AMBARI-19029.1.patch
          3 kB
          Vishal Suvagia
        2. AMBARI-19029.2.patch
          8 kB
          Vishal Suvagia
        3. AMBARI-19029.3.patch
          9 kB
          Vishal Suvagia
        4. AMBARI-19029.patch
          3 kB
          Vishal Suvagia

        Issue Links

          Activity

            People

              vishalsuvagia Vishal Suvagia
              shreyabhatm@gmail.com Shreya Bhat
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: