lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Isabelle Giguere (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SOLR-11198) downconfig downloads empty file as folder
Date Fri, 04 Aug 2017 22:42:00 GMT

    [ https://issues.apache.org/jira/browse/SOLR-11198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16115023#comment-16115023
] 

Isabelle Giguere edited comment on SOLR-11198 at 8/4/17 10:41 PM:
------------------------------------------------------------------

My command (on Windows)

> java -cp "C:\Path\to\lib\*" org.apache.solr.cloud.ZkCLI -cmd downconfig -zkhost localhost:2181/ot/solr
-confname otif_en -confdir "C:\Path\to\output\otif_en"

Note that I cannot reproduce the issue using Zookeeper 3.4.6 and Solr 5.4.1, with exactly
the same command.
We just upgraded to Zookeeper 3.4.10 and Solr 6.6.0

I'll try  Zookeeper 3.4.6 with Solr 6.6.0, and Zookeeper 3.4.10 with Solr 5.4.1, if it can
help narrow things down.

****
Update : 
No matter what version of Zookeeper, -cmd downconfig :
- Solr 6.6.0 outputs the empty synonyms.txt file as a folder.
- Solr 5.4.1 outputs the empty synonyms.txt file as a file.


was (Author: igiguere):
My command (on Windows)

> java -cp "C:\Path\to\lib\*" org.apache.solr.cloud.ZkCLI -cmd downconfig -zkhost localhost:2181/ot/solr
-confname otif_en -confdir "C:\Path\to\output\otif_en"

Note that I cannot reproduce the issue using Zookeeper 3.4.6 and Solr 5.4.1, with exactly
the same command.
We just upgraded to Zookeeper 3.4.10 and Solr 6.6.0

I'll try  Zookeeper 3.4.6 with Solr 6.6.0, and Zookeeper 3.4.10 with Solr 5.4.1, if it can
help narrow things down.

> downconfig downloads empty file as folder
> -----------------------------------------
>
>                 Key: SOLR-11198
>                 URL: https://issues.apache.org/jira/browse/SOLR-11198
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 6.6
>         Environment: Windows 7
>            Reporter: Isabelle Giguere
>            Priority: Minor
>
> With Solr 6.6.0, when downloading a config from Zookeeper (3.4.10), if a file is empty,
it is downloaded as a folder (on Windows, at least).
> A Zookeeper browser (Eclipse: Zookeeper Explorer) shows the file as a file, however,
in ZK.
> Noticed because we keep an empty synonyms.txt file in the Solr config provided with our
product, in case a client would want to use it.
> The workaround is simple, since the file allows comments: just add a comment, so it is
not empty.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message