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

Auto start should allow selection of components that can be auto-started

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: ambari-server
    • Labels:
      None

      Description

      Currently, auto start feature is a all-on or all-off. At times it is necessary to allow auto-start for certain components or disallow auto-start for certain components.

      Scenarios being:

      • Do not auto-restart NAMENODE
      • Restart only AMS Collector or Storm Supervisor
      • Do not auto restart ATS/JHS as they are externally managed for HA (active-passive)
      1. AMBARI-13463.patch
        25 kB
        Sumit Mohanty

        Issue Links

          Activity

          Hide
          sumitmohanty Sumit Mohanty added a comment -

          Sample configs:

          • Only NodeManager is enabled
            recovery.disabled_components=
            recovery.enabled_components=NODEMANAGER
            
          • Only NodeManager is disabled
            recovery.disabled_components=NODEMANAGER
            recovery.enabled_components=
            
          Show
          sumitmohanty Sumit Mohanty added a comment - Sample configs: Only NodeManager is enabled recovery.disabled_components= recovery.enabled_components=NODEMANAGER Only NodeManager is disabled recovery.disabled_components=NODEMANAGER recovery.enabled_components=
          Hide
          sumitmohanty Sumit Mohanty added a comment -

          This change replies on ambari.properties file specifying the need for auto restart. The plan is to move to cluster-env where the users can dynamically specify configuration for recovery without having to restart the server.

          Show
          sumitmohanty Sumit Mohanty added a comment - This change replies on ambari.properties file specifying the need for auto restart. The plan is to move to cluster-env where the users can dynamically specify configuration for recovery without having to restart the server.
          Hide
          hadoopqa Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12767269/AMBARI-13463.patch
          against trunk revision .

          -1 patch. The patch command could not apply the patch.

          Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3994//console

          This message is automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12767269/AMBARI-13463.patch against trunk revision . -1 patch . The patch command could not apply the patch. Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3994//console This message is automatically generated.
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-trunk-Commit #3666 (See https://builds.apache.org/job/Ambari-trunk-Commit/3666/)
          AMBARI-13463. Auto start should allow selection of components that can (smohanty: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4ba6aceb270037a6e1c33db3ed394b13e2add05c)

          • ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
          • ambari-agent/src/test/python/ambari_agent/TestRecoveryManager.py
          • ambari-server/src/main/java/org/apache/ambari/server/agent/RecoveryConfig.java
          • ambari-agent/src/main/python/ambari_agent/ActionQueue.py
          • ambari-server/src/main/java/org/apache/ambari/server/agent/HeartBeatHandler.java
          • ambari-agent/src/test/python/ambari_agent/TestActionQueue.py
          • ambari-agent/src/main/python/ambari_agent/RecoveryManager.py
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-trunk-Commit #3666 (See https://builds.apache.org/job/Ambari-trunk-Commit/3666/ ) AMBARI-13463 . Auto start should allow selection of components that can (smohanty: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4ba6aceb270037a6e1c33db3ed394b13e2add05c ) ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java ambari-agent/src/test/python/ambari_agent/TestRecoveryManager.py ambari-server/src/main/java/org/apache/ambari/server/agent/RecoveryConfig.java ambari-agent/src/main/python/ambari_agent/ActionQueue.py ambari-server/src/main/java/org/apache/ambari/server/agent/HeartBeatHandler.java ambari-agent/src/test/python/ambari_agent/TestActionQueue.py ambari-agent/src/main/python/ambari_agent/RecoveryManager.py
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-branch-2.1 #704 (See https://builds.apache.org/job/Ambari-branch-2.1/704/)
          AMBARI-13463. Auto start should allow selection of components that can (smohanty: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=799f8a9cceaedfe23498e8cc268a80e5102ba49a)

          • ambari-agent/src/test/python/ambari_agent/TestRecoveryManager.py
          • ambari-agent/src/test/python/ambari_agent/TestActionQueue.py
          • ambari-agent/src/main/python/ambari_agent/ActionQueue.py
          • ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
          • ambari-server/src/main/java/org/apache/ambari/server/agent/HeartBeatHandler.java
          • ambari-server/src/main/java/org/apache/ambari/server/agent/RecoveryConfig.java
          • ambari-agent/src/main/python/ambari_agent/RecoveryManager.py
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-branch-2.1 #704 (See https://builds.apache.org/job/Ambari-branch-2.1/704/ ) AMBARI-13463 . Auto start should allow selection of components that can (smohanty: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=799f8a9cceaedfe23498e8cc268a80e5102ba49a ) ambari-agent/src/test/python/ambari_agent/TestRecoveryManager.py ambari-agent/src/test/python/ambari_agent/TestActionQueue.py ambari-agent/src/main/python/ambari_agent/ActionQueue.py ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java ambari-server/src/main/java/org/apache/ambari/server/agent/HeartBeatHandler.java ambari-server/src/main/java/org/apache/ambari/server/agent/RecoveryConfig.java ambari-agent/src/main/python/ambari_agent/RecoveryManager.py
          Hide
          hadoopqa Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12767269/AMBARI-13463.patch
          against trunk revision .

          -1 patch. The patch command could not apply the patch.

          Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/4079//console

          This message is automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12767269/AMBARI-13463.patch against trunk revision . -1 patch . The patch command could not apply the patch. Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/4079//console This message is automatically generated.
          Hide
          jaimin Jaimin Jetly added a comment -

          Sumit Mohanty
          Marking this as resolved as it looks to have been committed in trunk and branch-2.2 after getting +1 on reviewboard

          Show
          jaimin Jaimin Jetly added a comment - Sumit Mohanty Marking this as resolved as it looks to have been committed in trunk and branch-2.2 after getting +1 on reviewboard

            People

            • Assignee:
              sumitmohanty Sumit Mohanty
              Reporter:
              sumitmohanty Sumit Mohanty
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development