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

Ambari-server states it has started but it actually errored.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • ambari-server
    • None

    Description

      PROBLEM: If you have wrong java_home, and you execute ambari-server start
      it outputs:
      root@63ambari# ambari-server start
      Using python /usr/bin/python2.6
      Starting ambari-server
      Ambari Server running with 'root' privileges.
      Server PID at: /var/run/ambari-server/ambari-server.pid
      Server out at: /var/log/ambari-server/ambari-server.out
      Server log at: /var/log/ambari-server/ambari-server.log
      Ambari Server 'start' completed successfully.
      BUSINESS IMPACT: The message displayed is misleading for admins and causes confusion.
      STEPS TO REPRODUCE:
      1. Install latest version of ambari from HDP 2.0.9.1
      2. after successfully installed and setup move java home
      3. Try to run ambari-server start
      ACTUAL BEHAVIOR: display shows successfuly started
      EXPECTED BEHAVIOR: Should show it errored, since .out file has error.
      SUPPORT ANALYSIS:
      Reproduced.

      Attachments

        Issue Links

          Activity

            People

              dmitriusan Dmitry Lysnichenko
              dmitriusan Dmitry Lysnichenko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: