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

Ambari Database Check failed to Complete Error

    XMLWordPrintableJSON

Details

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

    Description

      Built Ambari from branch-2.4, branch-2.5 and trunk. All the builds have the same issue when the start command is run.

      > ambari-server start
      Using python  /usr/bin/python
      Starting ambari-server
      Ambari Server running with administrator privileges.
      Organizing resource files at /var/lib/ambari-server/resources...
      Ambari database consistency check started...
      No errors were found.
      ERROR: Exiting with exit code 1.
      REASON: Database check failed to complete. Please check /var/log/ambari-server/ambari-server.log and /var/log/ambari-server/ambari-server-check-database.log for more information.

      The database.log says

      Error preallocating sequence numbers

      Nothing suspicious on ambari-server.log.

      Log file ambari-server-check-database.log attached with this JIRA for reference.

      Update
      Reverting https://github.com/apache/ambari/commit/b632b33bc35afc5a01354e8916fdcdf698e49e19 on a local copy of branch-2.4 fixed the issue on branch-2.4 build
      Reverting https://github.com/apache/ambari/commit/49f58e8402b543875c61f8d74a052bd6cd45a788 on a local copy of branch-2.5 fixed the issue on branch-2.5 build

      Attachments

        1. AMBARI-18725_branch-2.4_01.patch
          2 kB
          Robert Levas
        2. AMBARI-18725_branch-2.5_01.patch
          1 kB
          Robert Levas
        3. AMBARI-18725_trunk_01.patch
          1 kB
          Robert Levas

        Issue Links

          Activity

            People

              rlevas Robert Levas
              mithmatt Matt
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: