Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Unhelpful error when EMR cluster doesn't start #74

@zroadhouse-rmn

Description

@zroadhouse-rmn

This is for a start_datastore action on emr_engine.

Error message was:

'NoneType' object has no attribute 'state'


Traceback (most recent call last):
  File "emr.py", line 71, in run
    handler(self, datastore, action)
  File "/src/python/dart/engine/emr/actions/start_datastore.py", line 59, in start_datastore
    raise Exception('cluster_id=%s not in WAITING state, but in state: %s' % (cluster_id, cluster.state))
AttributeError: 'NoneType' object has no attribute 'state'

Looking at the AWS console, the actual error was

Subnet is required : The specified instance type m4.large can only be used in a VPC.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions