You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Alexandre Rafalovitch (Jira)" <ji...@apache.org> on 2020/08/29 20:23:00 UTC
[jira] [Resolved] (SOLR-3147) FileDataSource throws a
FileNotFoundException when reading from named pipes
[ https://issues.apache.org/jira/browse/SOLR-3147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexandre Rafalovitch resolved SOLR-3147.
-----------------------------------------
Resolution: Won't Fix
> FileDataSource throws a FileNotFoundException when reading from named pipes
> ---------------------------------------------------------------------------
>
> Key: SOLR-3147
> URL: https://issues.apache.org/jira/browse/SOLR-3147
> Project: Solr
> Issue Type: Bug
> Components: contrib - DataImportHandler
> Affects Versions: 3.5
> Environment: Unix
> Reporter: Paddy Mullen
> Priority: Minor
> Attachments: SOLR-3147.patch
>
>
> DataImportHandler fails on a FileNotFoundException when FileDataSource tries to read from a named pipe. This is because FileDataSource:105 in getFile calls isFile(). Since named pipes aren't true files this fails. When this check is removed, the import is able to proceed normally.
> I want to use a named pipe so I can keep the file compressed on disk and use gunzip -c to uncompress the file to the named pipe. Another way of fixing this would be to natively decompress inside of FileDataSource, it's not clear if this bug https://issues.apache.org/jira/browse/SOLR-1406 fixes the issue.
> What would the preferred patch do? Should it read a forceFile attribute from initProps?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org