Browse Source

YARN-10560. Upgrade node.js to 10.23.1 and yarn to 1.22.5 in Web UI v2. (#2592)

Akira Ajisaka 4 years ago
parent
commit
ae4945fb2c

+ 2 - 2
dev-support/docker/Dockerfile

@@ -150,12 +150,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/*
 

+ 2 - 2
dev-support/docker/Dockerfile_aarch64

@@ -153,12 +153,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/*
 

+ 2 - 2
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml

@@ -184,8 +184,8 @@
                   <goal>install-node-and-yarn</goal>
                 </goals>
                 <configuration>
-                  <nodeVersion>v10.21.0</nodeVersion>
-                  <yarnVersion>v1.21.1</yarnVersion>
+                  <nodeVersion>v10.23.1</nodeVersion>
+                  <yarnVersion>v1.22.5</yarnVersion>
                 </configuration>
               </execution>
               <execution>