----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/50808/ -----------------------------------------------------------
Review request for Ambari and Dmytro Sen. Bugs: AMBARI-18028 https://issues.apache.org/jira/browse/AMBARI-18028 Repository: ambari Description ------- GET _api/v1/stacks?fields=versions/*_ and GET _api/v1/clusters/c/stack_versions?fields=*&ClusterStackVersions/repository _version=2_ sometimes (ex. 2 of 10 requests) return { "status" : 500, "message" : "org.apache.ambari.server.controller.spi.SystemException: Could not load xml for Repository 2" } As this request is also used in Add Service Wizard, sometimes it fails deploy of new service. This issue is reproduced after visiting Hive View, when hive was not installed. STR: 1\. Install cluster without hive. 2\. Create Hive view. 3\. Open Hive view, open Query section. Then try those two requests several times. There are no records in ambari- server.log about these requests. Diffs ----- ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariHandlerList.java b33d977 contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/HdfsUtil.java c7d054f Diff: https://reviews.apache.org/r/50808/diff/ Testing ------- mvn clean test Thanks, Andrew Onischuk