我正试图通过Athena Commandline从EMR访问AWS Athena
aws Athena start-query-execution --query-string --result-configuration
但是aws帮助没有列出雅典娜。
我们需要执行Athena命令行以及如何执行?
答案 0 :(得分:0)
你可以粘贴你在尝试下面的命令时得到的错误。
aws Athena start-query-execution --query-string --result-configuration
命令行没有识别参数“Athena”吗?你能不能试试小号“athena”。
以下链接包含athena CLI文档
答案 1 :(得分:0)
在EMR主节点上更新AWS CLI版本有效
pip install awscli --upgrade --user
在更新CLI版本之前
aws --version
aws-cli / 1.11.83 Python / 2.7.12 Linux / 4.4.35-33.55.amzn1.x86_64 botocore / 1.5.46
更新后,CLI版本为-
aws --version
aws-cli / 1.15.62 Python / 2.7.12 Linux / 4.4.35-33.55.amzn1.x86_64 botocore / 1.10.61