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

Ambari unable to build rpms with 4 digit versions

    Details

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

      Description

      We tried making the change but the rpms being created do not get the correct version number.

      The goal is to create a build with version 2.1.2.0.378. As you can see the rpms being created are with version 2.1.2-0:
      ... ambari-metrics-monitor/RPMS/x86_64/ambari-metrics-monitor-2.1.2-0.x86_64.rpm
      It seems as if the build is not processing a 4 digit version + build properly. DnewVersion=2.1.2.0.378 is being broken such that the 4th digit is becoming the build number. I suspect the replacement directive in POM needs to be changed.

        Issue Links

          Activity

          Hide
          aonishuk Andrew Onischuk added a comment -

          Committed to trunk and branch-2.1 and branch-2.1.2

          Show
          aonishuk Andrew Onischuk added a comment - Committed to trunk and branch-2.1 and branch-2.1.2
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-branch-2.1 #676 (See https://builds.apache.org/job/Ambari-branch-2.1/676/)
          AMBARI-13403. Ambari unable to build rpms with 4 digit versions (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=3ba8c39c5ee67d0970d4529e18ce296e844c741d)

          • ambari-client/pom.xml
          • ambari-metrics/ambari-metrics-flume-sink/pom.xml
          • ambari-project/pom.xml
          • ambari-agent/pom.xml
          • ambari-metrics/ambari-metrics-kafka-sink/pom.xml
          • ambari-shell/ambari-python-shell/pom.xml
          • docs/pom.xml
          • ambari-metrics/ambari-metrics-timelineservice/pom.xml
          • ambari-metrics/ambari-metrics-assembly/pom.xml
          • ambari-metrics/ambari-metrics-storm-sink/pom.xml
          • ambari-metrics/pom.xml
          • ambari-server/pom.xml
          • ambari-metrics/ambari-metrics-host-monitoring/pom.xml
          • ambari-metrics/ambari-metrics-hadoop-sink/pom.xml
          • ambari-client/python-client/pom.xml
          • ambari-client/groovy-client/pom.xml
          • pom.xml
          • ambari-web/pom.xml
          • ambari-shell/ambari-groovy-shell/pom.xml
          • ambari-admin/pom.xml
          • ambari-metrics/ambari-metrics-common/pom.xml
          • ambari-shell/pom.xml
          • ambari-views/pom.xml
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-branch-2.1 #676 (See https://builds.apache.org/job/Ambari-branch-2.1/676/ ) AMBARI-13403 . Ambari unable to build rpms with 4 digit versions (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=3ba8c39c5ee67d0970d4529e18ce296e844c741d ) ambari-client/pom.xml ambari-metrics/ambari-metrics-flume-sink/pom.xml ambari-project/pom.xml ambari-agent/pom.xml ambari-metrics/ambari-metrics-kafka-sink/pom.xml ambari-shell/ambari-python-shell/pom.xml docs/pom.xml ambari-metrics/ambari-metrics-timelineservice/pom.xml ambari-metrics/ambari-metrics-assembly/pom.xml ambari-metrics/ambari-metrics-storm-sink/pom.xml ambari-metrics/pom.xml ambari-server/pom.xml ambari-metrics/ambari-metrics-host-monitoring/pom.xml ambari-metrics/ambari-metrics-hadoop-sink/pom.xml ambari-client/python-client/pom.xml ambari-client/groovy-client/pom.xml pom.xml ambari-web/pom.xml ambari-shell/ambari-groovy-shell/pom.xml ambari-admin/pom.xml ambari-metrics/ambari-metrics-common/pom.xml ambari-shell/pom.xml ambari-views/pom.xml
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Ambari-trunk-Commit #3636 (See https://builds.apache.org/job/Ambari-trunk-Commit/3636/)
          AMBARI-13403. Ambari unable to build rpms with 4 digit versions (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=c6c7f3955ddae61ac8dadb15dd1503e1e19a5766)

          • ambari-metrics/ambari-metrics-flume-sink/pom.xml
          • ambari-metrics/ambari-metrics-assembly/pom.xml
          • ambari-metrics/ambari-metrics-timelineservice/pom.xml
          • ambari-web/pom.xml
          • ambari-metrics/ambari-metrics-common/pom.xml
          • ambari-client/pom.xml
          • ambari-metrics/ambari-metrics-host-monitoring/pom.xml
          • ambari-metrics/ambari-metrics-storm-sink/pom.xml
          • ambari-project/pom.xml
          • ambari-client/groovy-client/pom.xml
          • ambari-metrics/ambari-metrics-kafka-sink/pom.xml
          • ambari-shell/ambari-python-shell/pom.xml
          • pom.xml
          • ambari-server/pom.xml
          • ambari-client/python-client/pom.xml
          • ambari-metrics/ambari-metrics-hadoop-sink/pom.xml
          • ambari-shell/pom.xml
          • ambari-shell/ambari-groovy-shell/pom.xml
          • ambari-admin/pom.xml
          • ambari-views/pom.xml
          • ambari-metrics/pom.xml
          • ambari-agent/pom.xml
          • docs/pom.xml
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Ambari-trunk-Commit #3636 (See https://builds.apache.org/job/Ambari-trunk-Commit/3636/ ) AMBARI-13403 . Ambari unable to build rpms with 4 digit versions (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=c6c7f3955ddae61ac8dadb15dd1503e1e19a5766 ) ambari-metrics/ambari-metrics-flume-sink/pom.xml ambari-metrics/ambari-metrics-assembly/pom.xml ambari-metrics/ambari-metrics-timelineservice/pom.xml ambari-web/pom.xml ambari-metrics/ambari-metrics-common/pom.xml ambari-client/pom.xml ambari-metrics/ambari-metrics-host-monitoring/pom.xml ambari-metrics/ambari-metrics-storm-sink/pom.xml ambari-project/pom.xml ambari-client/groovy-client/pom.xml ambari-metrics/ambari-metrics-kafka-sink/pom.xml ambari-shell/ambari-python-shell/pom.xml pom.xml ambari-server/pom.xml ambari-client/python-client/pom.xml ambari-metrics/ambari-metrics-hadoop-sink/pom.xml ambari-shell/pom.xml ambari-shell/ambari-groovy-shell/pom.xml ambari-admin/pom.xml ambari-views/pom.xml ambari-metrics/pom.xml ambari-agent/pom.xml docs/pom.xml
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-branch-2.1 #677 (See https://builds.apache.org/job/Ambari-branch-2.1/677/)
          AMBARI-13403. Ambari unable to build rpms with 4 digit versions (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2443d6bf5aebea8aa6382602cbabf8f29f99c3df)

          • ambari-client/groovy-client/pom.xml
          • ambari-client/python-client/pom.xml
          • ambari-shell/ambari-groovy-shell/pom.xml
          • contrib/views/slider/pom.xml
          • ambari-metrics/ambari-metrics-timelineservice/pom.xml
          • ambari-client/pom.xml
          • contrib/views/capacity-scheduler/pom.xml
          • contrib/views/storm/pom.xml
          • pom.xml
          • contrib/views/tez/pom.xml
          • ambari-metrics/ambari-metrics-host-monitoring/pom.xml
          • ambari-shell/pom.xml
          • ambari-metrics/pom.xml
          • ambari-metrics/ambari-metrics-assembly/pom.xml
          • contrib/views/files/pom.xml
          • contrib/views/pom.xml
          • contrib/views/jobs/pom.xml
          • ambari-project/pom.xml
          • ambari-shell/ambari-python-shell/pom.xml
          • ambari-metrics/ambari-metrics-flume-sink/pom.xml
          • ambari-server/pom.xml
          • ambari-agent/pom.xml
          • ambari-web/pom.xml
          • ambari-metrics/ambari-metrics-storm-sink/pom.xml
          • ambari-metrics/ambari-metrics-kafka-sink/pom.xml
          • contrib/views/utils/pom.xml
          • contrib/views/pig/pom.xml
          • contrib/views/hive/pom.xml
          • ambari-views/pom.xml
          • ambari-metrics/ambari-metrics-hadoop-sink/pom.xml
          • ambari-metrics/ambari-metrics-common/pom.xml
          • ambari-admin/pom.xml
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-branch-2.1 #677 (See https://builds.apache.org/job/Ambari-branch-2.1/677/ ) AMBARI-13403 . Ambari unable to build rpms with 4 digit versions (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2443d6bf5aebea8aa6382602cbabf8f29f99c3df ) ambari-client/groovy-client/pom.xml ambari-client/python-client/pom.xml ambari-shell/ambari-groovy-shell/pom.xml contrib/views/slider/pom.xml ambari-metrics/ambari-metrics-timelineservice/pom.xml ambari-client/pom.xml contrib/views/capacity-scheduler/pom.xml contrib/views/storm/pom.xml pom.xml contrib/views/tez/pom.xml ambari-metrics/ambari-metrics-host-monitoring/pom.xml ambari-shell/pom.xml ambari-metrics/pom.xml ambari-metrics/ambari-metrics-assembly/pom.xml contrib/views/files/pom.xml contrib/views/pom.xml contrib/views/jobs/pom.xml ambari-project/pom.xml ambari-shell/ambari-python-shell/pom.xml ambari-metrics/ambari-metrics-flume-sink/pom.xml ambari-server/pom.xml ambari-agent/pom.xml ambari-web/pom.xml ambari-metrics/ambari-metrics-storm-sink/pom.xml ambari-metrics/ambari-metrics-kafka-sink/pom.xml contrib/views/utils/pom.xml contrib/views/pig/pom.xml contrib/views/hive/pom.xml ambari-views/pom.xml ambari-metrics/ambari-metrics-hadoop-sink/pom.xml ambari-metrics/ambari-metrics-common/pom.xml ambari-admin/pom.xml

            People

            • Assignee:
              aonishuk Andrew Onischuk
              Reporter:
              aonishuk Andrew Onischuk
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development