lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <>
Subject [jira] [Commented] (SOLR-4358) SolrJ, by preventing multi-part post, loses key information about file name that Tika needs
Date Fri, 19 Apr 2013 07:53:15 GMT


Karl Wright commented on SOLR-4358:

The test that fails for me is:

[junit4:junit4] Tests with failures:
[junit4:junit4]   -

[junit4:junit4]   - (suite)

This on branch_4x.  Perhaps the test was renamed on trunk?  Anyhow, the failure looks suspiciously
like I tripped over a local disk error:

  2> Creating dataDir: C:\wip\solr\branch_4x\solr\build\solr-core\test\J0\.\solrtest-AliasIntegrationTest-1366356503950
  2> !!!! WARNING: best effort to remove C:\wip\solr\branch_4x\solr\build\solr-core\test\J0\.\\jetty1\index\ FAILED !!!!!
  2> !!!! WARNING: best effort to remove C:\wip\solr\branch_4x\solr\build\solr-core\test\J0\.\\jetty1\index
FAILED !!!!!
  2> !!!! WARNING: best effort to remove C:\wip\solr\branch_4x\solr\build\solr-core\test\J0\.\\jetty1
FAILED !!!!!
  2> !!!! WARNING: best effort to remove C:\wip\solr\branch_4x\solr\build\solr-core\test\J0\.\
FAILED !!!!!
  2> NOTE: reproduce with: ant test  -Dtestcase=AliasIntegrationTest -Dtests.method=testDistribSearch
-Dtests.seed=964155E88FA3F7F -Dtests.slow=true -Dtests.locale=en_PH -Dtests.timezone=Etc/GMT0
[03:28:23.944] ERROR   53.9s | AliasIntegrationTest.testDistribSearch <<<
   > Throwable #1: org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
Server at returned non ok status:500, message:Server
   > 	at __randomizedtesting.SeedInfo.seed([964155E88FA3F7F:88829B46FFA55F43]:0)
   > 	at org.apache.solr.client.solrj.impl.HttpSolrServer.request(
   > 	at org.apache.solr.client.solrj.impl.HttpSolrServer.request(
   > 	at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(
   > 	at org.apache.solr.client.solrj.SolrServer.add(
   > 	at org.apache.solr.client.solrj.SolrServer.add(
   > 	at
   > 	at org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(

On repeat, the test succeeded.  Obviously something random about the SolrCloud tests in general,
I think.  So I will rerun until I'm satisfied no test fails repeatably.

> SolrJ, by preventing multi-part post, loses key information about file name that Tika
> -------------------------------------------------------------------------------------------
>                 Key: SOLR-4358
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 4.0
>            Reporter: Karl Wright
>            Assignee: Ryan McKinley
>         Attachments: additional_changes.diff, SOLR-4358.patch, SOLR-4358.patch, SOLR-4358.patch
> SolrJ accepts a ContentStream, which has a name field.  Within, if
SolrJ makes the decision to use multipart posts, this filename is transmitted as part of the
form boundary information.  However, if SolrJ chooses not to use multipart post, the filename
information is lost.
> This information is used by SolrCell (Tika) to make decisions about content extraction,
so it is very important that it makes it into Solr in one way or another.  Either SolrJ should
set appropriate equivalent headers to send the filename automatically, or it should force
multipart posts when this information is present.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message