Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Issue #50) JAVA_HOME should be set by YARN, not by client #52

Closed
wants to merge 2 commits into from

Conversation

anfeng
Copy link
Contributor

@anfeng anfeng commented Sep 25, 2013

No description provided.

@revans2
Copy link
Collaborator

revans2 commented Sep 26, 2013

I don't think this really fixes it. If JAVA_HOME is set on the launcher box it will still be used to run the app master. The only difference is that the JAVA_HOME environment variable will not be set for the app master when it was set previously (Which may be enough). I would prefer to see a config that can be used to override JAVA_HOME on the remote cluster. If it is set we use it, if it is not set we assume java will be on the path and go with that. This would also give us the ability to pick between different JDKs that are installed on the same box. Think 32-bit vs 64-bit JDK, instead of relying on the JDK that the NodeManager is running with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants