Rupert Westenthaler created STANBOL-1150:
--------------------------------------------

             Summary: Commons Solr Managed 
ManagementUtils#getArchiveInputStream does not support bz2 and gz
                 Key: STANBOL-1150
                 URL: https://issues.apache.org/jira/browse/STANBOL-1150
             Project: Stanbol
          Issue Type: Bug
            Reporter: Rupert Westenthaler
            Assignee: Rupert Westenthaler
            Priority: Minor


The ManagementUtils#getArchiveInputStream is used to create the 
ArchiveInputStream for the InputStream provided by the Stanbol DataFileProvide 
for `{name}.solrindex.{compression-format}` files.

While this method does work with the default compression format ZIP it does not 
work for GZ and BZ2 files. This is because for such streams one needs to use 
first the commons-compression CompressorStreamFactory and only afterwards the 
ArchiveStreamFactory for the archive. 

--
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

Reply via email to