You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Callum Lamb (JIRA)" <ji...@apache.org> on 2016/01/15 15:22:40 UTC
[jira] [Updated] (SOLR-8557) ZKFileDataSource - Data import handler
ZooKeeper data source
[ https://issues.apache.org/jira/browse/SOLR-8557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Callum Lamb updated SOLR-8557:
------------------------------
Attachment: ZKFileDataSource.java
ZKFileDataSource class.
> ZKFileDataSource - Data import handler ZooKeeper data source
> ------------------------------------------------------------
>
> Key: SOLR-8557
> URL: https://issues.apache.org/jira/browse/SOLR-8557
> Project: Solr
> Issue Type: Improvement
> Components: contrib - DataImportHandler
> Affects Versions: 5.4
> Reporter: Callum Lamb
> Priority: Minor
> Attachments: ZKFileDataSource.java
>
>
> ZooKeeper doesn't have a data source type to pull files from ZooKeeper. So config files for data import have to be synchronized manually across all nodes in a cluster for them to work. Since I'm still stuck with using DIH for the time being I made a small class that adds this functionality.
> It works in the same way as FileDataSource does. It has the same encoding argument and basePath does the equivalent thing (if it's not set it assumes /configs/COLLECTION_NAME/FILENAME).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org