Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在一些亚洲 AWS 区域的 EC2 上启动 Hadoop 集群,但它默认设置在东海岸一号(弗吉尼亚),我无法从 bin/hadoop-ec2 命令找到任何相关参数或环境变量(特别是启动集群)。请指教!
如果您通过 ec2-run-instances 启动实例,则可以指定 --availability-zone。为hadoop手动完成所有工作确实需要大量工作。你想试试 Apache Whirr 吗?
在 EC_URL 环境变量中指定您的 EC2 url,如下所示:
export EC2_URL="https://ap-southeast-1.ec2.amazonaws.com/"
然后它将在此处提取信息并由 ec2-run-instances 使用。