scylla-tools-java icon indicating copy to clipboard operation
scylla-tools-java copied to clipboard

scylla-tools-java is not relocatable friendly

Open glommer opened this issue 6 years ago • 2 comments

I have recently tried to install our packages as rootless .tar.gz and scylla and scylla-jmx worked great.

The greatest amount of trouble came from where I expected less, scylla-java-tools

A couple of problems:

  • we don't even ship our version of cassandra.in.sh , and we seem to be pretty dependent on it
  • cassandra.in.sh uses absolute paths to load the .jars into the classpath and that won't work in rootless environment.

Even after I fixed that, it still had issues with the default port not being set, and at this point I stopped the process (will see if we can get the user to compile from git, which I know it works)

We need to fix our scripts so that we add an install.sh if necessary like we do for scylla, and all tools should work when invoked from that directory

glommer avatar Jan 25 '19 20:01 glommer

@glommer do you think we still have same problem on latest master? What causes the problem?

syuu1228 avatar Jan 27 '20 10:01 syuu1228

The bug is one year old, so I am not sure we still have the same issue today. I described what the problems were: if you are positive they are fixed, we can close this.

glommer avatar Jan 27 '20 17:01 glommer