[英]AWS - How can I add EMR step in current step
I have an EMR cluster that runs a single step - custom JAR. 我有一个运行一个步骤的EMR集群-自定义JAR。 I need to create a second step from the first step at runtime, how can I do it? 我需要在运行时从第一步开始创建第二步,我该怎么做? I know I can do it using the CLI but how can I accomplish it using java? 我知道我可以使用CLI进行操作,但是如何使用Java来完成操作呢?
Thanks 谢谢
For this you need to use AWS SDK for Java http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/calling-emr-with-java-sdk.html 为此,您需要使用适用于Java的AWS开发工具包http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/calling-emr-with-java-sdk.html
Please refer to this API reference - especially the addJobFlowSteps method http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/elasticmapreduce/AmazonElasticMapReduce.html 请参考此API参考-特别是addJobFlowSteps方法http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/elasticmapreduce/AmazonElasticMapReduce.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.