我们是否可以将更多Amazon Elastic Mapreduce实例添加到现有Amazon Elastic Mapreduce实例中? [英] Can we add more Amazon Elastic Mapreduce instances into an existing Amazon Elastic Mapreduce instances?

查看:87
本文介绍了我们是否可以将更多Amazon Elastic Mapreduce实例添加到现有Amazon Elastic Mapreduce实例中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Amazon Services的新手,遇到了一些问题.

I am new to Amazon Services and facing some issues.

假设我正在Amazon Elastic Mapreduce上运行一些作业流,总共有3个实例.在执行工作流程时,我发现我的工作需要更多时间来执行.在这种情况下,我需要向其中添加更多实例,以使我的实例增加,从而使作业快速执行.

Suppose I am running some Job Flow on Amazon Elastic Mapreduce with total 3 instances. While running my job flow on it I found that my job is taking more time to execute. And in such case I need to add more instances into it so that my instances will increase and hence job will execute fast.

我的问题是如何将这样的实例添加到现有实例中?因为如果我们终止存在的实例并再次创建具有更多数量的新实例会很费时间.

My question is that How to add such instance into an existing instances? Because If we terminate existed instance and again create the new instances with more number is time consuming.

反正有做吗?如果是的话,请建议我. 我正在通过CLI执行所有这些任务.因此,请同时与命令共享答案以及AWS管理控制台中的GUI步骤.

Is there anyway to do it? If yes then please suggest me. I am doing all this task through CLI. So please share the anwers with commands too along with GUI steps in AWS Management Console.

谢谢.

推荐答案

是的,您可以使用命令行工具来完成此操作

Yes, you can do this with the command line tool

将更多实例添加到核心组:

to add more instances to the core group:

elastic-mapreduce --modify-instance-group CORE --instance-count 40

要创建一个具有40个实例的任务组(无数据节点):

To create a task group (no datanodes), with 40 instances:

elastic-mapreduce --add-instance-group TASK --instance-count 40 --instance-type c1.medium

这篇关于我们是否可以将更多Amazon Elastic Mapreduce实例添加到现有Amazon Elastic Mapreduce实例中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆