Skip to content

Instantly share code, notes, and snippets.

@fs111
Created October 12, 2017 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fs111/51ec74d7713105d6b1f5082996dd7bae to your computer and use it in GitHub Desktop.
Save fs111/51ec74d7713105d6b1f5082996dd7bae to your computer and use it in GitHub Desktop.
RunJobFlowRequest request = new RunJobFlowRequest()
.withName(String.format("spark-test-cluster-%s", id))
.withApplications(new Application.withName("Spark"), new Application().withName("Zeppelin"))
.withReleaseLabel(EMR_RELEASE_LABEL)
...
RunJobFlowResult result = elasticMapReduceClient.runJobFlow(request);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment