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

Active ambari server check required in ambari server JAR

    XMLWordPrintableJSON

Details

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

    Description

      Sometimes ambari server instances are started directly using the ambari-server JAR instead of using ambari-server.py script.

      The check for detecting if the current instance is the active instance is in ambari-server.py script (AMBARI-13196) but not in the Java code. In order to take care of this scenario, the same check is required in the Java code in AmbariServer.java::main().

      Attachments

        1. rb52128.patch
          3 kB
          Nahappan Somasundaram

        Issue Links

          Activity

            People

              smnaha Nahappan Somasundaram
              smnaha Nahappan Somasundaram
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: