Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-1446

Cube latestdate api broken after virtual fact

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.7
    • cube
    • None

    Description

      We are observing could not get table for virtual fact when cube latest date is queried for :

      Caused by: org.apache.lens.server.api.error.LensException: Could not get table
      at org.apache.lens.cube.metadata.CubeMetastoreClient.getTable(CubeMetastoreClient.java:1616) ~[lens-cube-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
      at org.apache.lens.cube.metadata.CubeMetastoreClient.getTable(CubeMetastoreClient.java:1596) ~[lens-cube-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
      at org.apache.lens.cube.metadata.CubeMetastoreClient$PartitionTimelineCache.loadTimeLines(CubeMetastoreClient.java:463) ~[lens-cube-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
      at org.apache.lens.cube.metadata.CubeMetastoreClient$PartitionTimelineCache.get(CubeMetastoreClient.java:444) ~[lens-cube-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
      at org.apache.lens.cube.metadata.CubeMetastoreClient$PartitionTimelineCache.get(CubeMetastoreClient.java:589) ~[lens-cube-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
      at org.apache.lens.cube.metadata.CubeMetastoreClient.getLatestDateOfCube(CubeMetastoreClient.java:164) ~[lens-cube-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]
      at org.apache.lens.server.metastore.CubeMetastoreServiceImpl.getLatestDateOfCube(CubeMetastoreServiceImpl.java:1169) ~[classes/:na]
      at org.apache.lens.server.metastore.MetastoreResource.getLatestDateOfCube(MetastoreResource.java:1519) ~[classes/:na]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_92]

      Attachments

        1. LENS-1446.patch
          6 kB
          Rajitha R

        Activity

          People

            rajitha.r Rajitha R
            rajitha.r Rajitha R
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: