Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9027

EntityGroupFSTimelineStore fails to init LevelDBCacheTimelineStore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.3
    • 3.3.0
    • timelineserver
    • None

    Description

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

      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
      

      Repro:

      
      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
      
      

      Attachments

        1. YARN-9027-004.patch
          4 kB
          Prabhu Joseph
        2. 0003-YARN-9027.patch
          4 kB
          Prabhu Joseph
        3. 0002-YARN-9027.patch
          4 kB
          Prabhu Joseph
        4. 0001-YARN-9027.patch
          3 kB
          Prabhu Joseph

        Activity

          People

            prabhujoseph Prabhu Joseph
            prabhujoseph Prabhu Joseph
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: