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

Host group level config changes are not picked up with Blueprint provisioning

    Details

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

      Description

      Installing a cluster with a blueprint that contains host group level configurations are not picked up during install time. Ambari UI complains to restart few services after installation which doesn't make sense.
      In the provided BP there are host group level config like:

      { "hdfs-site" : { "dfs.datanode.data.dir" : "/hadoopfs/fs1/hdfs/datanode,/hadoopfs/fs2/hdfs/datanode" }

      },

      { "yarn-site" : { "yarn.nodemanager.local-dirs" : "/hadoopfs/fs1/yarn/nodemanager,/hadoopfs/fs2/yarn/nodemanager", "yarn.nodemanager.log-dirs" : "/hadoopfs/fs1/yarn/nodemanager/log,/hadoopfs/fs2/yarn/nodemanager/log" }

      }
      and those directories are not in use, but the default ones.

      1. AMBARI-13099.patch
        3 kB
        Olivér Szabó

        Issue Links

          Activity

          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Ambari-branch-2.1 #551 (See https://builds.apache.org/job/Ambari-branch-2.1/551/)
          AMBARI-13099. Config changes w/ blueprint provisioning are not picked up (Oliver Szabo via smohanty) (smohanty: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4e1cce23f259990873e4f9a4f79b8f5f362fad6e)

          • ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ExecutionCommandWrapper.java
          • ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Ambari-branch-2.1 #551 (See https://builds.apache.org/job/Ambari-branch-2.1/551/ ) AMBARI-13099 . Config changes w/ blueprint provisioning are not picked up (Oliver Szabo via smohanty) (smohanty: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4e1cce23f259990873e4f9a4f79b8f5f362fad6e ) ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ExecutionCommandWrapper.java ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Ambari-trunk-Commit #3460 (See https://builds.apache.org/job/Ambari-trunk-Commit/3460/)
          AMBARI-13099. Config changes w/ blueprint provisioning are not picked up (Oliver Szabo via smohanty) (smohanty: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d40bf10b8fc2be9046e278f4bd2685fc62f06513)

          • ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ExecutionCommandWrapper.java
          • ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Ambari-trunk-Commit #3460 (See https://builds.apache.org/job/Ambari-trunk-Commit/3460/ ) AMBARI-13099 . Config changes w/ blueprint provisioning are not picked up (Oliver Szabo via smohanty) (smohanty: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d40bf10b8fc2be9046e278f4bd2685fc62f06513 ) ambari-server/src/main/java/org/apache/ambari/server/actionmanager/ExecutionCommandWrapper.java ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
          Hide
          sumitmohanty Sumit Mohanty added a comment -

          committed to trunk and branch-2.1

          Show
          sumitmohanty Sumit Mohanty added a comment - committed to trunk and branch-2.1
          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/12755964/AMBARI-13099.patch
          against trunk revision .

          +1 @author. The patch does not contain any @author tags.

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no new tests are needed for this patch.
          Also please list what manual steps were performed to verify this patch.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          +1 core tests. The patch passed unit tests in ambari-server.

          Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3788//testReport/
          Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3788//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/12755964/AMBARI-13099.patch against trunk revision . +1 @author . The patch does not contain any @author tags. -1 tests included . The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in ambari-server. Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3788//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3788//console This message is automatically generated.

            People

            • Assignee:
              oleewere Olivér Szabó
              Reporter:
              oleewere Olivér Szabó
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development