Skip to content
This repository has been archived by the owner on Jan 10, 2019. It is now read-only.

Commit

Permalink
Merge pull request #125 from mesosphere/test_clusters
Browse files Browse the repository at this point in the history
Set LD_LIBRARY_PATH so Cassandra runs on Test/Continuous Clusters
  • Loading branch information
BenWhitehead committed Jul 30, 2015
2 parents c78c7e7 + 2b489b2 commit 082ebd0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ public final class CassandraCluster {
);

private static final Map<String, String> executorEnv = unmodifiableHashMap(
tuple2("JAVA_OPTS", "-Xms256m -Xmx256m")
tuple2("JAVA_OPTS", "-Xms256m -Xmx256m"),
tuple2("MESOSPHERE_LD_LIBRARY_PATH", "/opt/mesosphere/lib")
);

private static final TaskResources EXECUTOR_RESOURCES = taskResources(0.1, 384, 256);
Expand Down Expand Up @@ -606,6 +607,7 @@ private CassandraNodeExecutor buildCassandraNodeExecutor(@NotNull final String e
final CassandraConfigRole configRole = configuration.getDefaultConfigRole();

final List<String> command = newArrayList(
"export LD_LIBRARY_PATH=$MESOSPHERE_LD_LIBRARY_PATH:$LD_LIBRARY_PATH && ",
javaExec,
// "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005",
"-XX:+PrintCommandLineFlags",
Expand Down

0 comments on commit 082ebd0

Please sign in to comment.