aws emr-containers cli does not display responses

0

Hi folks,

I am starting to use the aws emr-containers cli and am having an issue as follows.

The cli does not display the responses to the requests issued with it (for instance: create-virtual-cluster and describe-virtual-cluster). Only when there is an error it displays the error message, but when the request succeeds it displays nothing.

I run the same requests (those for which I am not seeing any response on success) with the --debug option set and found out that the cli is receiving the correct answer from the server. It just does not display it.

I also tested on the same machine (MacOS) and same environment a couple of aws emr cli commands and verified that they worked just fine (that is, aws emr api requests display the responses normally on success).

Can someone help?

asked a year ago202 views
1 Answer
0

Hi,

While using the AWS CLI version 1 and running the emr-containers cli commands, I noticed the same behaviour as you mentioned and it was resolved by updating the AWS cli version to the latest version. I would recommend you to update the CLI to version 2 and check if the issue still persists.

Here is the below documentation to upgrade AWS CLI version. [+]https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html

Thank you!

AWS
SUPPORT ENGINEER
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions