[jira] [Commented] (SOLR-5602) Solr DIH shows in-consistent status

2016-10-01 Thread Alexandre Rafalovitch (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15539791#comment-15539791
 ] 

Alexandre Rafalovitch commented on SOLR-5602:
-

Is this still observable in the latest Solr? I suspect the issue may have been 
to a long commit process for a big job and not a bug.

> 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.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-5602) Solr DIH shows in-consistent status

2014-01-02 Thread Liu Xiang (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org