[ 
https://issues.apache.org/jira/browse/AMBARI-8202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14202477#comment-14202477
 ] 

Hudson commented on AMBARI-8202:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #863 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/863/])
AMBARI-8202 - Views: Instance Data API doesn't work in threads (tbeerbower) 
(tbeerbower: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0cdde042b4a9018c2a70fd237a821eed52fbcb37)
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java


> Views: Instance Data API doesn't work in threads
> ------------------------------------------------
>
>                 Key: AMBARI-8202
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8202
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Tom Beerbower
>            Assignee: Tom Beerbower
>             Fix For: 1.7.0
>
>
> Views instance data does not work when getting data in another thread through 
> ViewContext.getInstanceData.   It returns empty Map (in the main thread it 
> works ok).
> This happens because the instance data is scoped to the current user.  The 
> security context is not propagated to the spawned thread so the current user 
> is unknown when the call to getInstanceData is made.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to