Repository: bigtop Updated Branches: refs/heads/master 35dcfc8cc -> 043495ca8
BIGTOP-2858:Add AArch64 support for Debian 9 Closes #264 Signed-off-by: Konstantin Boudnik <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/043495ca Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/043495ca Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/043495ca Branch: refs/heads/master Commit: 043495ca887eea30fa71590a3f0e51be36671be2 Parents: 35dcfc8 Author: Yuqi Gu <[email protected]> Authored: Mon Jul 24 03:10:14 2017 +0000 Committer: Konstantin Boudnik <[email protected]> Committed: Thu Aug 3 20:37:11 2017 -0700 ---------------------------------------------------------------------- .../bigtop-puppet/debian-9-aarch64/Dockerfile | 20 +++++++++++++++++ docker/bigtop-puppet/debian-9-aarch64/build.sh | 16 ++++++++++++++ .../bigtop-slaves/debian-9-aarch64/Dockerfile | 23 ++++++++++++++++++++ docker/sandbox/sandbox-env.sh | 1 + .../docker/config_ubuntu-16.04-aarch64.yaml | 2 +- 5 files changed, 61 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/043495ca/docker/bigtop-puppet/debian-9-aarch64/Dockerfile ---------------------------------------------------------------------- diff --git a/docker/bigtop-puppet/debian-9-aarch64/Dockerfile b/docker/bigtop-puppet/debian-9-aarch64/Dockerfile new file mode 100644 index 0000000..5967824 --- /dev/null +++ b/docker/bigtop-puppet/debian-9-aarch64/Dockerfile @@ -0,0 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +FROM arm64v8/debian:9 +MAINTAINER Yuqi Gu <[email protected]> + +COPY puppetize.sh /tmp/puppetize.sh + +RUN bash /tmp/puppetize.sh http://git-wip-us.apache.org/repos/asf/bigtop/blob/043495ca/docker/bigtop-puppet/debian-9-aarch64/build.sh ---------------------------------------------------------------------- diff --git a/docker/bigtop-puppet/debian-9-aarch64/build.sh b/docker/bigtop-puppet/debian-9-aarch64/build.sh new file mode 100755 index 0000000..8bef287 --- /dev/null +++ b/docker/bigtop-puppet/debian-9-aarch64/build.sh @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +cp ../../../bigtop_toolchain/bin/puppetize.sh . +docker build --pull=true -t bigtop/puppet:debian-9-aarch64 . http://git-wip-us.apache.org/repos/asf/bigtop/blob/043495ca/docker/bigtop-slaves/debian-9-aarch64/Dockerfile ---------------------------------------------------------------------- diff --git a/docker/bigtop-slaves/debian-9-aarch64/Dockerfile b/docker/bigtop-slaves/debian-9-aarch64/Dockerfile new file mode 100644 index 0000000..a470289 --- /dev/null +++ b/docker/bigtop-slaves/debian-9-aarch64/Dockerfile @@ -0,0 +1,23 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +FROM bigtop/puppet:debian-9-aarch64 +MAINTAINER Yuqi Gu <[email protected]> + +COPY bigtop_toolchain /usr/share/puppet/modules/bigtop_toolchain + +RUN apt-get clean && apt-get update && puppet apply -e "include bigtop_toolchain::installer" + +COPY . /tmp/bigtop +RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/bigtop http://git-wip-us.apache.org/repos/asf/bigtop/blob/043495ca/docker/sandbox/sandbox-env.sh ---------------------------------------------------------------------- diff --git a/docker/sandbox/sandbox-env.sh b/docker/sandbox/sandbox-env.sh index 679314b..4d10c96 100644 --- a/docker/sandbox/sandbox-env.sh +++ b/docker/sandbox/sandbox-env.sh @@ -29,5 +29,6 @@ RPMS=( \ DEBS=( \ debian-8 \ debian-8-aarch64 \ + debian-9-aarch64 \ ubuntu-16.04 \ ) http://git-wip-us.apache.org/repos/asf/bigtop/blob/043495ca/provisioner/docker/config_ubuntu-16.04-aarch64.yaml ---------------------------------------------------------------------- diff --git a/provisioner/docker/config_ubuntu-16.04-aarch64.yaml b/provisioner/docker/config_ubuntu-16.04-aarch64.yaml index 74ca294..71f80f9 100644 --- a/provisioner/docker/config_ubuntu-16.04-aarch64.yaml +++ b/provisioner/docker/config_ubuntu-16.04-aarch64.yaml @@ -17,7 +17,7 @@ docker: memory_limit: "4g" image: "bigtop/puppet:ubuntu-16.04-aarch64" -#repo: "http://bigtop-repos.s3.amazonaws.com/releases/1.2.0/ubuntu/16.04/x86_64" +repo: "http://bigtop-repos.s3.amazonaws.com/releases/1.2.0/ubuntu/16.04/x86_64" distro: debian components: [hdfs, yarn, mapreduce] enable_local_repo: true
