epugh commented on PR #2593: URL: https://github.com/apache/solr/pull/2593#issuecomment-2283702202
> The only zk commands in the "solr zk --help" list that I have not been able to test are "zk linkconfig" and "zk updateacls". I am not sure how these are supposed to work/how to test them. The current documentation doesn't list the usage either (https://solr.apache.org/guide/solr/latest/deployment-guide/solr-control-script-reference.html#zookeeper-operations). > Ok, so 6.iii) is a non-issue. The zk destination was missing a trailing '/' and the zk cp command works fine for a file once the destination ends in a '/' to indicate a parent znode. solr zk cp "C:\Work\Git\command-testing\test-file.txt" zk:/uploads/data/ -z localhost:9983 ==> Works > > Although in traditional filesystems I would expect the command to work if the destination is a directory despite missing a file separator at the end, in case of Zk getting this to work might be tricky. Given the fact that there is no concept of file and directory in Zookeeper, and everything is just a znode, I could not find a reliable check to establish whether an empty znode destination should be classified as a "file" or "directory". This is where the trailing '/' helps clarify things imo. Do you have any thoughts on ref guide text or maybe expanding the text in `bin/solr zk cp -h` ? Thought that text is kind of wordy already, it may need another edit! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org