graphlab create:无法在aws中启动集群

时间:2017-01-30 18:24:18

标签: amazon-ec2 graphlab

目前我正在尝试使用Graphlab Create在aws ec2中创建一个集群。代码如下:

import graphlab as gl

ec2config = gl.deploy.Ec2Config(region='us-west-2', instance_type='m3.large',
    aws_access_key_id='secret-acces-key-id', 
    aws_secret_access_key='secret-access-key')

ec2 = gl.deploy.ec2_cluster.create(name='Test Cluster', 
    s3_path='s3://test-big-data-2016', ec2_config=ec2config, idle_shutdown_timeout=3600, num_hosts=1)

执行上述代码时,出现以下错误:

追踪(最近一次通话):   文件" test.py",第59行,in     ec2 = gl.deploy.ec2_cluster.create(name =' Test Cluster',s3_path =' s3:// test-big-data-2016',ec2_config = ec2config,idle_shutdown_timeout = 36000 ,num_hosts = 1)   文件" /Users/remco/anaconda/envs/gl-env/lib/python2.7/site-packages/graphlab/deploy/ec2_cluster.py" ;,第83行,在创建     cluster.start()   File" /Users/remco/anaconda/envs/gl-env/lib/python2.7/site-packages/graphlab/deploy/ec2_cluster.py" ;,第233行,开始     self.idle_shutdown_timeout   文件" /Users/remco/anaconda/envs/gl-env/lib/python2.7/site-packages/graphlab/deploy/_executionenvironment.py",第372行,在_start_commander_host中     引发RuntimeError('无法启动主机。请终止' RuntimeError:无法启动主机。请从AWS控制台手动终止。

当我查看EC2管理控制台时,会启动并运行一个新实例。但仍然在终端中收到错误。

我真的不知道我在这里做错了什么。我按照https://turi.com/learn/userguide/deployment/pipeline-example.html

的确切说明进行操作

0 个答案:

没有答案
相关问题