Can we add instances of Amazon Elastic Mapreduce to existing instances of Amazon Elastic Mapreduce?

I am new to Amazon Services and have some issues.

Suppose I run some workflow on Amazon Elastic Mapreduce with a total of 3 instances. During the execution of my workflow, I found that my work took longer to complete. And in this case, I need to add more instances to it so that my instances increase, and therefore, the work was done quickly.

My question is: how to add such an instance to existing instances? Because if we complete an existing instance and again create new instances with a large number, it takes a lot of time.

Is there anyway to do this? If so, offer me. I accomplish all this task through the CLI. Therefore, please share the commands with the announcers along with the GUI steps in the AWS Management Console.

Thank.

+3
source share
2 answers

Yes, you can do this using the command line tool

To add more instances to the group:

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

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

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

It is important to note that instances of CORE instances cannot be reduced because they participate as data nodes. They can only be increased. TASK instances only process and can be increased or decreased.

+5
source

All Articles