浏览代码

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 年之前
父节点
当前提交
592bc2f43b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>