You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Liu Xiang (JIRA)" <ji...@apache.org> on 2014/01/03 02:53:50 UTC
[jira] [Commented] (SOLR-5602) Solr DIH shows in-consistent status
[ https://issues.apache.org/jira/browse/SOLR-5602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13861092#comment-13861092 ]
Liu Xiang commented on SOLR-5602:
---------------------------------
some investigation from myself.
The status from DIH is decided by DataImporter.importLock which is a ReentrantLock.
In the log, the last record is "Time taken = xxx" which occurs at end of DocBuilder.execute()
After that, at the end of DataImporter.runCmd(RequestInfo reqParams, SolrWriter sw), importLock is unlock in finally block.
I don't see any reason that statement is not executed.
Could it be ReentrantLock can not release lock immediately for some reason?
Hope it helps to bootstrap.
> Solr DIH shows in-consistent status
> -----------------------------------
>
> Key: SOLR-5602
> URL: https://issues.apache.org/jira/browse/SOLR-5602
> Project: Solr
> Issue Type: Bug
> Components: contrib - DataImportHandler
> Affects Versions: 4.2
> Reporter: Liu Xiang
>
> I have one DIH index job which takes about 4 hr to finish.
> The job was launched at 11:28 am and completed at 15:10 pm.
> However, in DIH response, although "statusMessages" showed correct information, "status" kept showing "busy" until 16:40 pm.
> After that, it became "idle".
> This index job is one step of our data pipeline, we are using both "status" and statusMessages" to decide should the job move to next step, I would like to know the reason causing the in-consistent status.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org