Skip to content

Commit

Permalink
AMBARI-26126: Add openEuler-22.03 support (apache#3822)
Browse files Browse the repository at this point in the history
  • Loading branch information
timyuer authored Sep 7, 2024
1 parent d7afab0 commit 2e4cbb3
Show file tree
Hide file tree
Showing 21 changed files with 43 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@
7
]
},
"openeuler": {
"extends" : "redhat",
"distro": [
"openeuler"
],
"versions": [
22
]
},
"amazonlinux": {
"extends" : "redhat",
"distro": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@

<osSpecifics>
<osSpecific>
<osFamily>redhat7,redhat8</osFamily>
<osFamily>redhat7,redhat8,openeuler22</osFamily>
<packages>
<package>
<name>ambari-infra-solr-client</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@

<osSpecifics>
<osSpecific>
<osFamily>redhat7,redhat8</osFamily>
<osFamily>redhat7,redhat8,openeuler22</osFamily>
<packages>
<package>
<name>ambari-metrics-collector</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,11 @@
<reponame>bigtop</reponame>
</repo>
</os>
<os family="openeuler22">
<repo>
<baseurl>https://bigtop-snapshot.s3.amazonaws.com/openeuler-22/$basearch</baseurl>
<repoid>BIGTOP-3.2.0</repoid>
<reponame>bigtop</reponame>
</repo>
</os>
</reposinfo>
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@

<osSpecifics>
<osSpecific>
<osFamily>redhat7,redhat8</osFamily>
<osFamily>redhat7,redhat8,openeuler22</osFamily>
<packages>
<package>
<name>flink_${stack_version}</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@

<osSpecifics>
<osSpecific>
<osFamily>redhat7,redhat8</osFamily>
<osFamily>redhat7,redhat8,openeuler22</osFamily>
<packages>
<package>
<name>hbase_${stack_version}</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@

<osSpecifics>
<osSpecific>
<osFamily>redhat7,redhat8</osFamily>
<osFamily>redhat7,redhat8,openeuler22</osFamily>
<packages>
<package>
<name>hadoop_${stack_version}</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@

<osSpecifics>
<osSpecific>
<osFamily>redhat7,redhat8</osFamily>
<osFamily>redhat7,redhat8,openeuler22</osFamily>
<packages>
<package>
<name>hive_${stack_version}</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@

<osSpecifics>
<osSpecific>
<osFamily>redhat7,redhat8</osFamily>
<osFamily>redhat7,redhat8,openeuler22</osFamily>
<packages>
<package>
<name>kafka_${stack_version}</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@

<osSpecifics>
<osSpecific>
<osFamily>redhat7,redhat8</osFamily>
<osFamily>redhat7,redhat8,openeuler22</osFamily>
<packages>
<package>
<name>krb5-workstation</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@

<osSpecifics>
<osSpecific>
<osFamily>redhat7</osFamily>
<osFamily>redhat7,openeuler22</osFamily>
<packages>
<package>
<name>spark_${stack_version}-core</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

<osSpecifics>
<osSpecific>
<osFamily>redhat7,redhat8</osFamily>
<osFamily>redhat7,redhat8,openeuler22</osFamily>
<packages>
<package>
<name>solr_${stack_version}</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@

<osSpecifics>
<osSpecific>
<osFamily>redhat7,redhat8</osFamily>
<osFamily>redhat7,redhat8,openeuler22</osFamily>
<packages>
<package>
<name>spark_${stack_version}-core</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

<osSpecifics>
<osSpecific>
<osFamily>redhat7,redhat8</osFamily>
<osFamily>redhat7,redhat8,openeuler22</osFamily>
<packages>
<package>
<name>tez_${stack_version}</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@

<osSpecifics>
<osSpecific>
<osFamily>redhat7,redhat8</osFamily>
<osFamily>redhat7,redhat8,openeuler22</osFamily>
<packages>
<package>
<name>hadoop_${stack_version}-yarn</name>
Expand Down Expand Up @@ -379,7 +379,7 @@

<osSpecifics>
<osSpecific>
<osFamily>redhat7,redhat8</osFamily>
<osFamily>redhat7,redhat8,openeuler22</osFamily>
<packages>
<package>
<name>hadoop_${stack_version}-mapreduce</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ limitations under the License.

<osSpecifics>
<osSpecific>
<osFamily>redhat7,redhat8</osFamily>
<osFamily>redhat7,redhat8,openeuler22</osFamily>
<packages>
<package>
<name>zeppelin_${stack_version}</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@

<osSpecifics>
<osSpecific>
<osFamily>redhat7,redhat8</osFamily>
<osFamily>redhat7,redhat8,openeuler22</osFamily>
<packages>
<package>
<name>zookeeper_${stack_version}</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,14 @@
<os family="redhat8">
<repo>
<baseurl>https://bigtop-snapshot.s3.amazonaws.com/centos-8/$basearch</baseurl>
<repoid>BIGTOP-3.2.0</repoid>
<repoid>BIGTOP-3.3.0</repoid>
<reponame>bigtop</reponame>
</repo>
</os>
<os family="openeuler22">
<repo>
<baseurl>https://bigtop-snapshot.s3.amazonaws.com/openeuler-22/$basearch</baseurl>
<repoid>BIGTOP-3.3.0</repoid>
<reponame>bigtop</reponame>
</repo>
</os>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@

<osSpecifics>
<osSpecific>
<osFamily>redhat7,redhat8</osFamily>
<osFamily>redhat7,redhat8,openeuler22</osFamily>
<packages>
<package>
<name>ranger_${stack_version}-admin</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

<osSpecifics>
<osSpecific>
<osFamily>redhat9,redhat8,redhat7,amazonlinux2,redhat6,suse11,suse12</osFamily>
<osFamily>redhat9,redhat8,redhat7,amazonlinux2,redhat6,suse11,suse12,openeuler22</osFamily>
<packages>
<package>
<name>ranger_${stack_version}-kms</name>
Expand Down
1 change: 1 addition & 0 deletions ambari-server/src/main/resources/version_definition.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
<xs:enumeration value="suse11" />
<xs:enumeration value="suse12" />
<xs:enumeration value="amazonlinux2" />
<xs:enumeration value="openeuler22" />
</xs:restriction>
</xs:simpleType>

Expand Down

0 comments on commit 2e4cbb3

Please sign in to comment.