From 3748c258f95b8daa0bd131b65cf0b09b943a4618 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Wed, 6 Jan 2021 12:12:46 +0900 Subject: [PATCH] YARN-10560. Upgrade node.js to 10.23.1 and yarn to 1.22.5 in Web UI v2. (#2592) (cherry picked from commit ae4945fb2c89397f81e7d0566784e6548b6de685) --- dev-support/docker/Dockerfile | 4 ++-- dev-support/docker/Dockerfile_aarch64 | 4 ++-- hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile index 2833606918..85cdfc081e 100644 --- a/dev-support/docker/Dockerfile +++ b/dev-support/docker/Dockerfile @@ -188,12 +188,12 @@ RUN curl -L -s -S https://deb.nodesource.com/setup_10.x | bash - \ && npm install -g bower@1.8.8 ### -## Install Yarn 1.12.1 for web UI framework +## Install Yarn 1.22.5 for web UI framework #### RUN curl -s -S https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ && echo 'deb https://dl.yarnpkg.com/debian/ stable main' > /etc/apt/sources.list.d/yarn.list \ && apt-get -q update \ - && apt-get install -y --no-install-recommends yarn=1.21.1-1 \ + && apt-get install -y --no-install-recommends yarn=1.22.5-1 \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* diff --git a/dev-support/docker/Dockerfile_aarch64 b/dev-support/docker/Dockerfile_aarch64 index ab588ed841..250d020e90 100644 --- a/dev-support/docker/Dockerfile_aarch64 +++ b/dev-support/docker/Dockerfile_aarch64 @@ -196,12 +196,12 @@ RUN curl -L -s -S https://deb.nodesource.com/setup_10.x | bash - \ && npm install -g bower@1.8.8 ### -## Install Yarn 1.12.1 for web UI framework +## Install Yarn 1.22.5 for web UI framework #### RUN curl -s -S https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \ && echo 'deb https://dl.yarnpkg.com/debian/ stable main' > /etc/apt/sources.list.d/yarn.list \ && apt-get -q update \ - && apt-get install -y --no-install-recommends yarn=1.21.1-1 \ + && apt-get install -y --no-install-recommends yarn=1.22.5-1 \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml index 1d0cb874eb..e9fb9e94af 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml @@ -184,8 +184,8 @@ install-node-and-yarn - v10.21.0 - v1.21.1 + v10.23.1 + v1.22.5