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

[SPARK-4057] Use -agentlib instead of -Xdebug in sbt-launch-lib.bash for debugging #2904

Closed
wants to merge 2 commits into from

Conversation

sarutak
Copy link
Member

@sarutak sarutak commented Oct 23, 2014

In -launch-lib.bash, -Xdebug option is used for debugging. We should use -agentlib option for Java 6+.

@SparkQA
Copy link

SparkQA commented Oct 23, 2014

QA tests have started for PR 2904 at commit 26b4af8.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Oct 23, 2014

QA tests have finished for PR 2904 at commit 26b4af8.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@srowen
Copy link
Member

srowen commented Oct 23, 2014

+1 I can confirm that -Xdebug went away in Java 5 I think and this is the modern invocation of the debugger.

@SparkQA
Copy link

SparkQA commented Nov 1, 2014

Test build #22664 has finished for PR 2904 at commit 39b5320.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@JoshRosen
Copy link
Contributor

It looks like this file comes from the sbt-launcher-package project. This change seems reasonable to me; do you mind opening an upstream pull request so that the SBT maintainers can take a look at this and sign off? This would also ensure that we don't accidentally revert this change if we decide to pull in a newer version of the launcher scripts.

@sarutak
Copy link
Member Author

sarutak commented Nov 7, 2014

@JoshRosen Thanks for notification!
I've opened the PR at the project.
sbt/sbt-launcher-package#83

I'll wait for merging that PR.

@pwendell
Copy link
Contributor

The upstream change was merged so I can pull this in now.

@asfgit asfgit closed this in 938dc14 Nov 30, 2014
@sarutak sarutak deleted the SPARK-4057 branch April 11, 2015 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants