You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by br...@apache.org on 2022/01/26 13:15:53 UTC

[cassandra-dtest] 02/02: Use explicit path for the jolokia jar

This is an automated email from the ASF dual-hosted git repository.

brandonwilliams pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git

commit a0872a76650b6c850bf429fd2a123ed9cfd59858
Author: Brandon Williams <br...@apache.org>
AuthorDate: Tue Jan 25 16:38:20 2022 -0600

    Use explicit path for the jolokia jar
    
    Patch by brandonwilliams; reviwewed by bereng for CASSANDRA-17265
---
 tools/jmxutils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/jmxutils.py b/tools/jmxutils.py
index 165fa0d..05957f1 100644
--- a/tools/jmxutils.py
+++ b/tools/jmxutils.py
@@ -9,7 +9,7 @@ import ccmlib.common as common
 
 logger = logging.getLogger(__name__)
 
-JOLOKIA_JAR = os.path.join('lib', 'jolokia-jvm-1.6.2-agent.jar')
+JOLOKIA_JAR = os.path.join(os.path.dirname(__file__), '..', 'lib', 'jolokia-jvm-1.6.2-agent.jar')
 CLASSPATH_SEP = ';' if common.is_win() else ':'
 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org