[
https://issues.apache.org/jira/browse/CASSANDRA-20257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Miklosovic updated CASSANDRA-20257:
------------------------------------------
Bug Category: Parent values: Code(13163)
Complexity: Low Hanging Fruit
Discovered By: Adhoc Test
Fix Version/s: 4.0.x
4.1.x
5.0.x
5.x
Severity: Low
Status: Open (was: Triage Needed)
> tools/bin/cassandra.in.sh is not preparing CLASSPATH correctly
> --------------------------------------------------------------
>
> Key: CASSANDRA-20257
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20257
> Project: Apache Cassandra
> Issue Type: Bug
> Components: Legacy/Tools
> Reporter: Stefan Miklosovic
> Assignee: Stefan Miklosovic
> Priority: Normal
> Fix For: 4.0.x, 4.1.x, 5.0.x, 5.x
>
>
> Compare what is in tools/bin/cassandra.in.sh
> https://github.com/apache/cassandra/blob/cassandra-5.0.2/tools/bin/cassandra.in.sh#L32-L37
> with what is in bin/cassandra.in.sh
> https://github.com/apache/cassandra/blob/cassandra-5.0.2/bin/cassandra.in.sh#L32-L44
> For tools, it means that I am not able to execute e.g. "
> ./tools/bin/sstablemetadata " because it will prepare CLASSPATH wrongly. The
> output of `ls -1 ...` are two files (jar itself and sources.jar) which are
> separated by "new line" and when fed to CLASSPATH, it will construct it
> wrongly, having space between, which fails the whole thing.
> We need to make tools/bin/cassandra.in.sh the same way as it is done in
> cassandra.in.sh.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]