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

Service repoinfo.xml needs to expose component for Ubuntu repos

    Details

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

      Description

      The problem is that Ambari is using the reponame name field as the distribution when it creates the repo definition file. Since both of these repos use same distribution (which is a common Debian pattern), they collide.

      1. AMBARI-21856.patch
        36 kB
        Vitaly Brodetskyi

        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/12885844/AMBARI-21856.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/12162//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/12885844/AMBARI-21856.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/12162//console This message is automatically generated.
          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/12886915/AMBARI-21856.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/12217//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/12886915/AMBARI-21856.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/12217//console This message is automatically generated.
          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/12887212/AMBARI-21856.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/12231//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/12887212/AMBARI-21856.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/12231//console This message is automatically generated.
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Jenkins build Ambari-branch-2.6 #224 (See https://builds.apache.org/job/Ambari-branch-2.6/224/)
          AMBARI-21856. Service repoinfo.xml needs to expose component for Ubuntu (vbrodetskyi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=3b55821fc2117d6f97d87ce902eb56e4f1b9497a)

          • (edit) ambari-server/src/main/java/org/apache/ambari/server/state/ServiceOsSpecific.java
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RepositoryEntity.java
          • (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryResourceProviderTest.java
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/CommandRepository.java
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryInfo.java
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/VersionDefinitionResourceProvider.java
          • (edit) ambari-server/src/test/java/org/apache/ambari/server/audit/request/creator/RepositoryVersionEventCreatorTest.java
          • (edit) ambari-common/src/main/python/resource_management/libraries/functions/repository_util.py
          • (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/repo_initialization.py
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/state/stack/RepositoryXml.java
          • (edit) ambari-server/src/main/resources/version_definition.xsd
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RepositoryResourceProvider.java
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/RepositoryVersionHelper.java
          • (edit) ambari-server/src/test/python/stacks/2.0.6/configs/default.json
          • (edit) ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/stack/RepoUtil.java
          • (edit) ambari-server/src/main/resources/custom_actions/scripts/update_repo.py
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/RepositoryResponse.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Jenkins build Ambari-branch-2.6 #224 (See https://builds.apache.org/job/Ambari-branch-2.6/224/ ) AMBARI-21856 . Service repoinfo.xml needs to expose component for Ubuntu (vbrodetskyi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=3b55821fc2117d6f97d87ce902eb56e4f1b9497a ) (edit) ambari-server/src/main/java/org/apache/ambari/server/state/ServiceOsSpecific.java (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RepositoryEntity.java (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryResourceProviderTest.java (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/CommandRepository.java (edit) ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryInfo.java (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/VersionDefinitionResourceProvider.java (edit) ambari-server/src/test/java/org/apache/ambari/server/audit/request/creator/RepositoryVersionEventCreatorTest.java (edit) ambari-common/src/main/python/resource_management/libraries/functions/repository_util.py (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/repo_initialization.py (edit) ambari-server/src/main/java/org/apache/ambari/server/state/stack/RepositoryXml.java (edit) ambari-server/src/main/resources/version_definition.xsd (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RepositoryResourceProvider.java (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java (edit) ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/RepositoryVersionHelper.java (edit) ambari-server/src/test/python/stacks/2.0.6/configs/default.json (edit) ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py (edit) ambari-server/src/main/java/org/apache/ambari/server/stack/RepoUtil.java (edit) ambari-server/src/main/resources/custom_actions/scripts/update_repo.py (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/RepositoryResponse.java
          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/12887366/AMBARI-21856.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/12243//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/12887366/AMBARI-21856.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/12243//console This message is automatically generated.
          Hide
          vbrodetskyi Vitaly Brodetskyi added a comment -

          Committed to trunk and branch-2.6

          Show
          vbrodetskyi Vitaly Brodetskyi added a comment - Committed to trunk and branch-2.6
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8073 (See https://builds.apache.org/job/Ambari-trunk-Commit/8073/)
          AMBARI-21856. Service repoinfo.xml needs to expose component for Ubuntu (vbrodetskyi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f8b29df9685b443d4a5c06c6e1725e4428c95b49)

          • (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/CommandRepository.java
          • (edit) ambari-server/src/test/java/org/apache/ambari/server/audit/request/creator/RepositoryVersionEventCreatorTest.java
          • (edit) ambari-server/src/main/resources/custom_actions/scripts/update_repo.py
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/VersionDefinitionResourceProvider.java
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/stack/RepoUtil.java
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/RepositoryResponse.java
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RepositoryEntity.java
          • (edit) ambari-server/src/main/resources/version_definition.xsd
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/RepositoryVersionHelper.java
          • (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryResourceProviderTest.java
          • (edit) ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py
          • (edit) ambari-server/src/test/python/stacks/2.0.6/configs/default.json
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RepositoryResourceProvider.java
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/state/stack/RepositoryXml.java
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryInfo.java
          • (edit) ambari-common/src/main/python/resource_management/libraries/functions/repository_util.py
          • (edit) ambari-server/src/main/java/org/apache/ambari/server/state/ServiceOsSpecific.java
          • (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/repo_initialization.py
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8073 (See https://builds.apache.org/job/Ambari-trunk-Commit/8073/ ) AMBARI-21856 . Service repoinfo.xml needs to expose component for Ubuntu (vbrodetskyi: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f8b29df9685b443d4a5c06c6e1725e4428c95b49 ) (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/CommandRepository.java (edit) ambari-server/src/test/java/org/apache/ambari/server/audit/request/creator/RepositoryVersionEventCreatorTest.java (edit) ambari-server/src/main/resources/custom_actions/scripts/update_repo.py (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/VersionDefinitionResourceProvider.java (edit) ambari-server/src/main/java/org/apache/ambari/server/stack/RepoUtil.java (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/RepositoryResponse.java (edit) ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RepositoryEntity.java (edit) ambari-server/src/main/resources/version_definition.xsd (edit) ambari-server/src/main/java/org/apache/ambari/server/state/stack/upgrade/RepositoryVersionHelper.java (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryResourceProviderTest.java (edit) ambari-server/src/test/python/stacks/2.0.6/hooks/before-INSTALL/test_before_install.py (edit) ambari-server/src/test/python/stacks/2.0.6/configs/default.json (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RepositoryResourceProvider.java (edit) ambari-server/src/main/java/org/apache/ambari/server/state/stack/RepositoryXml.java (edit) ambari-server/src/main/java/org/apache/ambari/server/state/RepositoryInfo.java (edit) ambari-common/src/main/python/resource_management/libraries/functions/repository_util.py (edit) ambari-server/src/main/java/org/apache/ambari/server/state/ServiceOsSpecific.java (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-INSTALL/scripts/repo_initialization.py

            People

            • Assignee:
              vbrodetskyi Vitaly Brodetskyi
              Reporter:
              vbrodetskyi Vitaly Brodetskyi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development