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

Ambari server does not come up after restart if cluster install fails.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0, 2.4.2
    • trunk, 2.5.0, 2.4.2
    • ambari-server
    • None

    Description

      Related to New Mgmt pack changes. My cluster failed at INSTALL time, made a fix in stack and restarted server which throws following error:

      23 Sep 2016 22:28:47,949 ERROR [main] AmbariServer:923 - Failed to run the Ambari Server
      org.apache.ambari.server.AmbariException: An error occured during updating current repository versions with stack repositories.
              at org.apache.ambari.server.stack.UpdateActiveRepoVersionOnStartup.process(UpdateActiveRepoVersionOnStartup.java:103)
              at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJpaLocalTxnInterceptor.java:128)
              at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:915)
      Caused by: java.lang.NullPointerException
              at org.apache.ambari.server.stack.UpdateActiveRepoVersionOnStartup.process(UpdateActiveRepoVersionOnStartup.java:97)
              ... 2 more
      

      Attachments

        1. AMBARI-18467-start-repo-check-trunk-v1.patch
          4 kB
          Balázs Bence Sári
        2. ambari-server.log.gz
          275 kB
          Siddharth Wagle

        Issue Links

          Activity

            People

              bsari Balázs Bence Sári
              bsari Balázs Bence Sári
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: