You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Rajat Khandelwal (JIRA)" <ji...@apache.org> on 2015/05/19 08:35:00 UTC

[jira] [Commented] (LENS-339) Query Purger repeatedly throws exception

    [ https://issues.apache.org/jira/browse/LENS-339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14549879#comment-14549879 ] 

Rajat Khandelwal commented on LENS-339:
---------------------------------------

Small enough diff. Attaching directly

> Query Purger repeatedly throws exception
> ----------------------------------------
>
>                 Key: LENS-339
>                 URL: https://issues.apache.org/jira/browse/LENS-339
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: server
>            Reporter: Srikanth Sundarrajan
>            Assignee: Rajat Khandelwal
>             Fix For: 2.2
>
>         Attachments: LENS-339_2015-05-19_12:04:02.patch
>
>
> {noformat}
> 2015-02-21 09:08:52,169 (QueryPurger) [WARN - org.apache.lens.server.query.QueryExecutionServiceImpl$QueryPurger.run(QueryExecutionServiceImpl.java:754)] Exception while purging query 
> java.sql.SQLException: Found different value pre-existing in DB while trying to insert finished query. Old = FinishedLensQuery(handle=fb715bd7-95b1-41a6-a455-3c5c99668c60, userQuery=DROP TABLE IF EXISTS TEST_TABLE, submitter=foo, submissionTime=1424443070332, startTime=1424443070606, endTime=1424443121786, result=null, status=SUCCESSFUL, metadata=null, rows=0, errorMessage=null, driverStartTime=1424443070581, driverEndTime=1424443071308, metadataClass=null, queryName=)
> New = FinishedLensQuery(handle=fb715bd7-95b1-41a6-a455-3c5c99668c60, userQuery=DROP TABLE IF EXISTS TEST_TABLE, submitter=foo, submissionTime=1424443070332, startTime=1424443070606, endTime=1424489897070, result=null, status=SUCCESSFUL, metadata=null, rows=0, errorMessage=null, driverStartTime=1424443070581, driverEndTime=1424443071308, metadataClass=null, queryName=)
> 	at org.apache.lens.server.query.LensServerDAO.insertFinishedQuery(LensServerDAO.java:138)
> 	at org.apache.lens.server.query.QueryExecutionServiceImpl$QueryPurger.run(QueryExecutionServiceImpl.java:751)
> 	at java.lang.Thread.run(Thread.java:745)
> {noformat}



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