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

Set LD_LIBRARY_PATH so Cassandra runs on Test/Continuous Clusters #125

Merged
merged 1 commit into from
Jul 30, 2015

Conversation

gabrielhartmann
Copy link
Contributor

No description provided.

@@ -93,7 +93,8 @@
);

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")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On non dcos clusters (most major linux distributions), LD library path is typically located under "/usr/local/lib". I'm not very familiar with this code, but I wanted to double check that the default value is correct here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This value is appended to the path at executor start time. You're right that it's normally not there and will only be there in DCOS.

I want to test this out on DCOS and mesos to make sure that it works in both locations then I'll merge it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been tested on DCOS and mesos clusters now.

@elingg
Copy link
Contributor

elingg commented Jul 29, 2015

One comment which is pretty important. Other than that, LGTM. Any objections @BenWhitehead before merging?

BenWhitehead added a commit that referenced this pull request Jul 30, 2015
Set LD_LIBRARY_PATH so Cassandra runs on Test/Continuous Clusters
@BenWhitehead BenWhitehead merged commit 082ebd0 into master Jul 30, 2015
@BenWhitehead BenWhitehead deleted the test_clusters branch July 30, 2015 00:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants