Stefan Miklosovic created CASSANDRA-20257:
---------------------------------------------

             Summary: 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


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]

Reply via email to