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

Ambari-server restart command not working. if any parameters are changed and reset to default.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0
    • None
    • None

    Description

      *Steps to reproduce:*
      1\. Change any of the parameters that hamper the ambari-server to restart
      successfully.(password.dat file)
      2\. Restart ambari-server, ambari-server restart will fail saying (This is
      expected as we have changed the parameter.)

      Unable to determine server PID. Retrying...
      DB configs consistency check: no errors and warnings were found.
      ERROR: Exiting with exit code -1.

      3\. Now set the Parameter to its actual value.
      4.Restart ambari-server, ambari-server restart will fail saying

      Using python /usr/bin/python
      Restarting ambari-server
      WARNING: '' is incorrect PID value. /var/run/ambari-server/ambari-server.pid is corrupt. Removing
      Ambari Server 'restart' completed with warnings.

      5.If you Restart the Ambari server again. It gets restarted successfully.

      Attachments

        1. AMBARI-19061.patch
          1 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              pradarttana Pradarttana
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: