Pārlūkot izejas kodu

YARN-10470. When building new web ui with root user, the bower install should support it. Contributed by zhuqi.

(cherry picked from commit c4ba0ab7dfcfe76f928d06fcb29ca0cc4d778737)
Akira Ajisaka 4 gadi atpakaļ
vecāks
revīzija
592bc2f43b

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

@@ -161,7 +161,7 @@
                 <phase>generate-resources</phase>
                 <id>bower install</id>
                 <configuration>
-                  <arguments>install</arguments>
+                  <arguments>install --allow-root</arguments>
                 </configuration>
                 <goals>
                   <goal>bower</goal>