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

Marcelo Vanzin commented on YARN-2444:
--------------------------------------

Ah, I'm using leveldb if that makes a difference.

> Primary filters added after first submission not indexed, cause exceptions in 
> logs.
> -----------------------------------------------------------------------------------
>
>                 Key: YARN-2444
>                 URL: https://issues.apache.org/jira/browse/YARN-2444
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: timelineserver
>    Affects Versions: 2.5.0
>            Reporter: Marcelo Vanzin
>         Attachments: ats.java
>
>
> See attached code for an example. The code creates an entity with a primary 
> filter, submits it to the ATS. After that, a new primary filter value is 
> added and the entity is resubmitted. At that point two things can be seen:
> - Searching for the new primary filter value does not return the entity
> - The following exception shows up in the logs:
> {noformat}
> 14/08/22 11:33:42 ERROR webapp.TimelineWebServices: Error when verifying 
> access for user dr.who (auth:SIMPLE) on the events of the timeline entity { 
> id: testid-48625678-9cbb-4e71-87de-93c50be51d1a, type: test }
> org.apache.hadoop.yarn.exceptions.YarnException: Owner information of the 
> timeline entity { id: testid-48625678-9cbb-4e71-87de-93c50be51d1a, type: test 
> } is corrupted.
>         at 
> org.apache.hadoop.yarn.server.timeline.security.TimelineACLsManager.checkAccess(TimelineACLsManager.java:67)
>         at 
> org.apache.hadoop.yarn.server.timeline.webapp.TimelineWebServices.getEntities(TimelineWebServices.java:172)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at 
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to