lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Pugh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-4234) ZooKeeper doesn't handle binary files
Date Wed, 26 Dec 2012 22:22:12 GMT

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

Eric Pugh updated SOLR-4234:
----------------------------

    Attachment: binary_upload_download.patch

Testcase and patch for binary files in ZK.
                
> ZooKeeper doesn't handle binary files
> -------------------------------------
>
>                 Key: SOLR-4234
>                 URL: https://issues.apache.org/jira/browse/SOLR-4234
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.0
>            Reporter: Eric Pugh
>         Attachments: binary_upload_download.patch
>
>
> I was attempting to get the ShowFileHandler to show a .png file, and it was failing.
 But in non-ZK mode it worked just fine!   It took a while, but it seems that we upload to
zk as a text, and download as well.  I've attached a unit test that demonstrates the problem,
and a fix.  You have to have a binary file in the conf directory to make the test work, I
put solr.png in the collection1/conf/velocity directory.

--
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: http://www.atlassian.com/software/jira

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


Mime
View raw message