PauloMigAlmeida commented on issue #4458:
URL: https://github.com/apache/kyuubi/issues/4458#issuecomment-1963178638

   Hi @yaooqinn, 
   
   > do you mean that an AWS EMR cluster does not support spark-submit?
   EMR (on EC2) does support submitting via `spark-submit` utility. However, 
EMR-Serverless do not.
   
   For EMR-Serverless, one can submit jobs by either using of the AWS' SDK or 
via AWSCli. 
   
   It looks something like this:
   
   ```bash
   aws emr-serverless start-job-run \
       --application-id <EMR_Severless_App_Id> \
       --execution-role-arn 
arn:aws:iam::012345678901:role/my-cool-emr-exec-role \
       --job-driver 
'sparkSubmit={entryPoint=s3://my-bucket/script_to_be_execeuted.py}' \
       --configuration-overrides '{"monitoringConfiguration": 
{"managedPersistenceMonitoringConfiguration": {"enabled": true}, 
"cloudWatchLoggingConfiguration": {"enabled": true, "logGroupName": 
"/aws/emr-serverless/my-logs"}}}'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to