一个带有简单UI和支持Java Servlet的Ambari视图示例,用于执行Hive查询和查看结果。要安装预先构建的jar (target/servlet-view-example-1.0-SNAPSHOT-view.jar):

sudo rm -rf /var/lib/ambari-server/resources/views/work/example{1.0.0}

sudo cp target/servlet-view-example-1.0-SNAPSHOT-view.jar /var/lib/ambari-server/resources/views/

要手动构建...