ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Beerbower" <tbeerbo...@hortonworks.com>
Subject Review Request 34288: Views : "cannot load permission" error when accessing the ambari view
Date Fri, 15 May 2015 19:33:25 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/34288/
-----------------------------------------------------------

Review request for Ambari, Jonathan Hurley and Nate Cole.


Bugs: AMBARI-11183
    https://issues.apache.org/jira/browse/AMBARI-11183


Repository: ambari


Description
-------

"cannot load permission" error when accessing the ambari view

The problem is that there are privileges in the DB that do not have an associated resource.

To reproduce:
Delete jars of views which have an instance left in ambari, from /var/lib/ambari-server/resources/views/
and restart ambari.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ResourceEntity.java 04dbd76

  ambari-server/src/test/java/org/apache/ambari/server/orm/entities/ResourceEntityTest.java
35724d3 

Diff: https://reviews.apache.org/r/34288/diff/


Testing
-------

Manual tested.

Added new unit test.

mvn clean test


Thanks,

Tom Beerbower


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message