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

ConcurrentModificationException while doing parallel estimate

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.1
    • 2.1
    • cube, server
    • None

    Description

      22 Apr 2015 11:14:46,755 [estimate-3] WARN  org.apache.lens.driver.cube.RewriteUtil  - Driver : org.apache.lens.driver.jdbc.JDBCDriver@4ebbd9cc Skipped for the query rewriting due to
      java.util.ConcurrentModificationException
              at java.util.HashMap$HashIterator.nextEntry(HashMap.java:810)
              at java.util.HashMap$KeyIterator.next(HashMap.java:845)
              at org.apache.lens.cube.metadata.DerivedCube.getDimAttributeNames(DerivedCube.java:247)
              at org.apache.lens.cube.parse.FieldValidator.validateFields(FieldValidator.java:74)
              at org.apache.lens.cube.parse.FieldValidator.rewriteContext(FieldValidator.java:40)
              at org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:198)
              at org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:173)
              at org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:184)
              at org.apache.lens.driver.cube.RewriteUtil$DriverRewriterRunnable.run(RewriteUtil.java:305)
              at org.apache.lens.server.query.QueryExecutionServiceImpl$RewriteEstimateRunnable.run(QueryExecutionServiceImpl.java:1163)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
              at java.util.concurrent.FutureTask.run(FutureTask.java:166)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:701)
      
      

      Attachments

        1. LENS-522.2.patch
          2 kB
          Amareshwari Sriramadasu

        Activity

          People

            amareshwari Amareshwari Sriramadasu
            arshadmatin20 Arshad Matin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: