Raju Bairishetti created LENS-324:
-------------------------------------

             Summary: TestCubeRewriter.testQueryWithNow is failing 
intermittently
                 Key: LENS-324
                 URL: https://issues.apache.org/jira/browse/LENS-324
             Project: Apache Lens
          Issue Type: Bug
          Components: cube
            Reporter: Raju Bairishetti
             Fix For: 2.1


TestCubeRewriter.testQueryWithNow is failing with stackoverflow exception

{noformat}
java.lang.StackOverflowError: null
        at java.util.GregorianCalendar.getFixedDate(GregorianCalendar.java:2520)
        at java.util.GregorianCalendar.computeTime(GregorianCalendar.java:2381)
        at java.util.Calendar.updateTime(Calendar.java:2468)
        at java.util.Calendar.complete(Calendar.java:1525)
        at 
java.util.GregorianCalendar.getNormalizedCalendar(GregorianCalendar.java:2632)
        at 
java.util.GregorianCalendar.getActualMaximum(GregorianCalendar.java:1629)
        at org.apache.commons.lang.time.DateUtils.modify(DateUtils.java:877)
        at org.apache.commons.lang.time.DateUtils.truncate(DateUtils.java:695)
        at 
org.apache.lens.cube.parse.DateUtil.getMonthsBetween(DateUtil.java:284)
        at 
org.apache.lens.cube.parse.DateUtil.getQuartersBetween(DateUtil.java:302)
        at 
org.apache.lens.cube.metadata.CubeFactTable.maxIntervalInRange(CubeFactTable.java:189)
        at 
org.apache.lens.cube.parse.StorageTableResolver.getPartitions(StorageTableResolver.java:442)
        at 
org.apache.lens.cube.parse.StorageTableResolver.getPartitions(StorageTableResolver.java:612)
        at 
org.apache.lens.cube.parse.StorageTableResolver.getPartitions(StorageTableResolver.java:612)
        at 
org.apache.lens.cube.parse.StorageTableResolver.getPartitions(StorageTableResolver.java:612)
{noformat}




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

Reply via email to