Four Stars

How to use tAmazonEMRManage to start EMR Cluster and install Spark (and other) software

Hi all,

 

I'm working on Talend 6.3 Big Data and I need to create and start a AWS EMR cluster running Spark.

I've been working around tAmazonEMRManage to create the EMR cluster but I cant find a way to set the cluster and install Spark automatically.

I'm using the Advanced settings  but can find the right setting to do it.

Can you be so kind and help me to find a way to config this component to automatically start cluster and install spark and additional software?

 

Thank you.

 

Regards

 

P.

1 ACCEPTED SOLUTION

Accepted Solutions
Four Stars

Re: How to use tAmazonEMRManage to start EMR Cluster and install Spark (and other) software

Problem solved. Reinstalled component jars and no more issues.

2 REPLIES
Four Stars

Re: How to use tAmazonEMRManage to start EMR Cluster and install Spark (and other) software

additional details on bootstrap:

bootstrap-line.PNG

 

 

 

 

and error :

 

statistics] connecting to socket on port 3684
[statistics] connected
Exception in component tAmazonEMRManage_1
com.amazonaws.AmazonServiceException: The supplied bootstrap action(s): 'Spark' are not supported by release 'emr-4.6.0'. (Service: AmazonElasticMapReduce; Status Code: 400; Error Code: ValidationException; Request ID: ff997975-1ade-11e8-8c6e-09cc6025cc5b)
    at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:1369)
    at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:913)
    at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:631)
    at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:400)
    at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:362)
    at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:311)
    at com.amazonaws.services.elasticmapreduce.AmazonElasticMapReduceClient.invoke(AmazonElasticMapReduceClient.java:1295)
    at com.amazonaws.services.elasticmapreduce.AmazonElasticMapReduceClient.runJobFlow(AmazonElasticMapReduceClient.java:1060)
[FATAL]: aws_poc.emrtype1job_0_1.EMRType1job - tAmazonEMRManage_1 The supplied bootstrap action(s): 'Spark' are not supported by release 'emr-4.6.0'. (Service: AmazonElasticMapReduce; Status Code: 400; Error Code: ValidationException; Request ID: ff997975-1ade-11e8-8c6e-09cc6025cc5b)
[statistics] disconnected
    at aws_poc.emrtype1job_0_1.EMRType1job.tAmazonEMRManage_1Process(EMRType1job.java:852)
    at aws_poc.emrtype1job_0_1.EMRType1job.tSetProxy_1Process(EMRType1job.java:1062)
    at aws_poc.emrtype1job_0_1.EMRType1job.runJobInTOS(EMRType1job.java:1310)
    at aws_poc.emrtype1job_0_1.EMRType1job.main(EMRType1job.java:1144)

 

 

 

Four Stars

Re: How to use tAmazonEMRManage to start EMR Cluster and install Spark (and other) software

Problem solved. Reinstalled component jars and no more issues.