Explorar o código

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 %!s(int64=4) %!d(string=hai) anos
pai
achega
592bc2f43b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml

+ 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>