当我尝试使用bdutil命令启动Hadoop集群时,请使用以下方法之一:
bdutil -b a_hadoop_test -n 1 -P mycluster -e hadoop2_env.sh -i ubuntu-1204 deploy
OR
bdutil -b a_hadoop_test -n 1 -P mycluster -e hadoop2_env.sh -i ubuntu-1204-precise-v20150316 deploy
我收到以下错误:
******************* gcloud compute stderr *******************
ERROR: (gcloud.compute.instances.create) Could not fetch image resource:
- The resource 'projects/my_project_name/global/images/ubuntu-1204' was not found
使用请求的Ubuntu映像启动时需要做什么?
答案 0 :(得分:1)
好的,这就是答案 - 我搞砸了实例名称。实际上是:
ubuntu-12-04
...所以命令是:
bdutil -b a_hadoop_test -n 1 -P mycluster -e hadoop2_env.sh -i ubuntu-12-04 deploy