Prabhu Joseph created YARN-9027:
-----------------------------------

             Summary: EntityGroupFSTimelineStore fails to init 
LevelDBCacheTimelineStore 
                 Key: YARN-9027
                 URL: https://issues.apache.org/jira/browse/YARN-9027
             Project: Hadoop YARN
          Issue Type: Bug
          Components: timelineserver
    Affects Versions: 2.7.3
            Reporter: Prabhu Joseph
            Assignee: Prabhu Joseph


EntityGroupFSTimelineStore fails to init LevelDBCacheTimelineStore as the 
expected default constructor is not present.

{code}
Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: 
org.apache.hadoop.yarn.server.timeline.LevelDBCacheTimelineStore.<init>()
        at 
org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:134)
        at 
org.apache.hadoop.yarn.server.timeline.EntityCacheItem.refreshCache(EntityCacheItem.java:100)
        at 
org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore.getCachedStore(EntityGroupFSTimelineStore.java:1026)
        at 
org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore.getTimelineStoresFromCacheIds(EntityGroupFSTimelineStore.java:945)
        at 
org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore.getTimelineStoresForRead(EntityGroupFSTimelineStore.java:998)
        at 
org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore.getEntities(EntityGroupFSTimelineStore.java:1040)
        at 
org.apache.hadoop.yarn.server.timeline.TimelineDataManager.doGetEntities(TimelineDataManager.java:168)
        at 
org.apache.hadoop.yarn.server.timeline.TimelineDataManager.getEntities(TimelineDataManager.java:138)
        at 
org.apache.hadoop.yarn.server.timeline.webapp.TimelineWebServices.getEntities(TimelineWebServices.java:117)
        ... 59 more
Caused by: java.lang.NoSuchMethodException: 
org.apache.hadoop.yarn.server.timeline.LevelDBCacheTimelineStore.<init>()
        at java.lang.Class.getConstructor0(Class.java:3082)
        at java.lang.Class.getDeclaredConstructor(Class.java:2178)
        at 
org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:128)
        ... 67 more
{code}


Repro:

{code}

1. Set Offline Caching with
yarn.timeline-service.entity-group-fs-store.cache-store-class=org.apache.hadoop.yarn.server.timeline.LevelDBCacheTimelineStore
2. Run a Tez query
3. Check Tez View

{code}






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to