Browse Source

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 years ago
parent
commit
592bc2f43b
1 changed files with 1 additions and 1 deletions
  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>