You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Isabelle Giguere (JIRA)" <ji...@apache.org> on 2017/08/04 16:32:00 UTC

[jira] [Created] (ZOOKEEPER-2863) downconfig downloads empty file as folder

Isabelle Giguere created ZOOKEEPER-2863:
-------------------------------------------

             Summary: downconfig downloads empty file as folder
                 Key: ZOOKEEPER-2863
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2863
             Project: ZooKeeper
          Issue Type: Bug
    Affects Versions: 3.4.10
         Environment: Windows 7
            Reporter: Isabelle Giguere
            Priority: Minor


When downloading a config (ex: a Solr 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, if the file allows comments: just add a comment, so it is not empty.



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