New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add/fix wrong/missing "solr.home" to zkcli scripts #1798
Add/fix wrong/missing "solr.home" to zkcli scripts #1798
Conversation
Thanks for looking at this.. one thought, would you want to add some BATS test to confirm these fixes? They have been great for verifying a lot of the SolrCLI things... Down the road, I hope to eliminate the need for the |
Hi @epugh |
i had no idea that behind the zkcli scripts was a Java class! I think we should only have one variable name, whichever we have been using the most. One more thought... I've been slowly moving various scripts under the "bin/solr" SolrCLI as tools. Once this get's merged, would you be interested in migrating this over to "bin/solr"? I wonder how much of what is in the "bin/solr zk" command is duplicated htere in zkcli? |
Might be worth a grep thorugh the ref guide re "solrHome" versus "solr.home" too! |
Yes sure, will be more than happy to help on this. |
The only place where "solr.home" is used is here |
Hi @epugh |
are you going to change the -t to a -v for verbose and use that int he bats test? That way we don't have custom code that is ONLY used in a test.. it's a more generic feature... I'd love to see that... |
…-wrong-solr_home_to_zkCLI_scripts
Done. |
Great. Will merge when in front of laptop.
…On Fri, Aug 18, 2023 at 1:29 PM Lamine ***@***.***> wrote:
Hi @epugh <https://github.com/epugh> I'd really appreciate if you could
finish the review and, if approved, merge it. I have other PRs waiting for
this one before I could push them upstream. Thank you.
are you going to change the -t to a -v for verbose and use that int he
bats test? That way we don't have custom code that is ONLY used in a test..
it's a more generic feature... I'd love to see that...
Done.
That's a good suggestion. I can add another PR verbosing more logs. For
now it's just logging *solrhome* as it's the subject of this PR.
—
Reply to this email directly, view it on GitHub
<#1798 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAFO63HFGXDW34T6TXMVLLXV6Q7TANCNFSM6AAAAAA2QJKJYA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
--------- Co-authored-by: Lamine Idjeraoui <lidjeraoui@apple.com>
https://issues.apache.org/jira/browse/SOLR-16900
Description
"solr.home" is missing in zkcli.bat and wrong in zkcli.sh (solrHome instead of solr.home)
Solution
Add/replace the correct name.
Tests
Local tests for both scripts (.sh and .bat)
Checklist
Please review the following and check all that apply:
main
branch../gradlew check
.