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 30832: Views: ContextClassLoader can't load resources for JARs
Date Tue, 10 Feb 2015 15:49:22 GMT

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

Review request for Ambari, Jonathan Hurley and Nate Cole.


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


Repository: ambari


Description
-------

Thread context class loader is not set to the view class loader when accessing a view resource
through the REST APIs. For example ...
    /api/v1/views/CALCULATOR/versions/1.0.0/instances/INSTANCE_1/resources/calculator


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariHandlerList.java da15a66

  ambari-server/src/main/java/org/apache/ambari/server/controller/FailsafeHandlerList.java
fa1e6b1 
  ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariHandlerListTest.java
7171e88 

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


Testing
-------

Manual tests.
New unit test added.
All existing unit tests pass.


Thanks,

Tom Beerbower


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