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

Install package command during RU should honor excluded packages

    Details

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

      Description

      It seems that install package custom action is not taking into account the logic in the stack to exclude packages. Therefore, it is installing hadooplzo, phoenix, even if they should be installed. This causes issue for folks using local repo which may not include these packages.

      We need a design where package exclusion logic lives in a single location - perhaps stack definition itself - that is shared by Upgrade code as well as regular stack install code.

      Meanwhile, we may need a hot-fix to avoid installing hadooplzo during RU. This can be a bit hacky as its needed on 2.1.2.

      1. AMBARI-13335.patch
        6 kB
        Dmitry Lysnichenko

        Issue Links

          Activity

          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/12765354/AMBARI-13335.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/3913//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/12765354/AMBARI-13335.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/3913//console This message is automatically generated.
          Hide
          dmitriusan Dmitry Lysnichenko added a comment -

          Committed current patch to trunk and to branch-2.1
          10c54a5..a0a005b branch-2.1 -> branch-2.1
          d259917..85bd7cd trunk -> trunk

          Show
          dmitriusan Dmitry Lysnichenko added a comment - Committed current patch to trunk and to branch-2.1 10c54a5..a0a005b branch-2.1 -> branch-2.1 d259917..85bd7cd trunk -> trunk
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-trunk-Commit #3689 (See https://builds.apache.org/job/Ambari-trunk-Commit/3689/)
          AMBARI-13335. Install package command during RU should honor excluded (dlysnichenko: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=85bd7cdbc01da56b9d16abd29f18153cefcdead6)

          • ambari-server/conf/unix/ambari.properties
          • ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
          • ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
          • ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-trunk-Commit #3689 (See https://builds.apache.org/job/Ambari-trunk-Commit/3689/ ) AMBARI-13335 . Install package command during RU should honor excluded (dlysnichenko: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=85bd7cdbc01da56b9d16abd29f18153cefcdead6 ) ambari-server/conf/unix/ambari.properties ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-branch-2.1 #723 (See https://builds.apache.org/job/Ambari-branch-2.1/723/)
          AMBARI-13335. Install package command during RU should honor excluded (dlysnichenko: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a0a005b2a88ed356a49671204c670097a74b3107)

          • ambari-server/conf/unix/ambari.properties
          • ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java
          • ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
          • ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-branch-2.1 #723 (See https://builds.apache.org/job/Ambari-branch-2.1/723/ ) AMBARI-13335 . Install package command during RU should honor excluded (dlysnichenko: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a0a005b2a88ed356a49671204c670097a74b3107 ) ambari-server/conf/unix/ambari.properties ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java

            People

            • Assignee:
              dmitriusan Dmitry Lysnichenko
              Reporter:
              dmitriusan Dmitry Lysnichenko
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development