You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2014/12/16 05:53:13 UTC

[jira] [Updated] (LENS-130) ConcurrentModificationException in JoinResolver

     [ https://issues.apache.org/jira/browse/LENS-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated LENS-130:
-----------------------------------------
    Attachment: LENS-130.patch

Patch fixes the concurrent modification issue in join resolver.

Not creating a review request as the fix is single line change

> ConcurrentModificationException in JoinResolver
> -----------------------------------------------
>
>                 Key: LENS-130
>                 URL: https://issues.apache.org/jira/browse/LENS-130
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: cube
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>            Priority: Critical
>             Fix For: 2.0
>
>         Attachments: LENS-130.patch
>
>
> Here is the exception trace :
> {noformat}
> 15 Dec 2014 16:28:59,155 [QuerySubmitter] WARN  org.apache.lens.driver.cube.RewriteUtil  - Driver : org.apache.lens.driver.jdbc.JDBCDriver Skipped for the query rewriting due to 
> java.util.ConcurrentModificationException
> 	at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:390)
> 	at java.util.LinkedHashMap$ValueIterator.next(LinkedHashMap.java:405)
> 	at org.apache.lens.cube.parse.JoinResolver$AutoJoinContext.pruneAllPathsForCandidateDims(JoinResolver.java:482)
> 	at org.apache.lens.cube.parse.StorageTableResolver.rewriteContext(StorageTableResolver.java:163)
> 	at org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:186)
> 	at org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:170)
> 	at org.apache.lens.cube.parse.CubeQueryRewriter.rewrite(CubeQueryRewriter.java:181)
> 	at org.apache.lens.driver.cube.RewriteUtil.rewriteQuery(RewriteUtil.java:249)
> 	at org.apache.lens.server.query.QueryExecutionServiceImpl.rewriteAndSelect(QueryExecutionServiceImpl.java:967)
> 	at org.apache.lens.server.query.QueryExecutionServiceImpl.access$800(QueryExecutionServiceImpl.java:89)
> 	at org.apache.lens.server.query.QueryExecutionServiceImpl$QuerySubmitter.run(QueryExecutionServiceImpl.java:476)
> 	at java.lang.Thread.run(Thread.java:701)
> {noformat}



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