Unhandled exception: Limit Exceeded <Program Exits> #97

Closed
sebdah opened this Issue Dec 20, 2013 · 0 comments

Projects

None yet

1 participant

@sebdah
Owner
sebdah commented Dec 20, 2013

Unhandled exception: Limit Exceeded

2013-12-19 11:23:19,558 - dynamic-dynamodb - INFO - dynamic-test - Consumed read units: 0%
2013-12-19 11:23:19,911 - dynamic-dynamodb - INFO - dynamic-test - Consumed write units: 0%
2013-12-19 11:23:19,911 - dynamic-dynamodb - INFO - dynamic-test - Changing provisioning to 4 read units and 2 write units
Traceback (most recent call last):
  File "/usr/local/bin/dynamic-dynamodb", line 5, in <module>
    pkg_resources.run_script('dynamic-dynamodb==1.7.0-SNAPSHOT', 'dynamic-dynamodb')
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 489, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 1207, in run_script
    execfile(script_filename, namespace, namespace)
  File "/Library/Python/2.7/site-packages/dynamic_dynamodb-1.7.0_SNAPSHOT-py2.7.egg/EGG-INFO/scripts/dynamic-dynamodb", line 26, in <module>
    dynamic_dynamodb.main()
  File "/Library/Python/2.7/site-packages/dynamic_dynamodb-1.7.0_SNAPSHOT-py2.7.egg/dynamic_dynamodb/__init__.py", line 124, in main
    table.ensure_provisioning(table_name, table_key)
  File "/Library/Python/2.7/site-packages/dynamic_dynamodb-1.7.0_SNAPSHOT-py2.7.egg/dynamic_dynamodb/core/table.py", line 41, in ensure_provisioning
    table_name, updated_read_units, updated_write_units, key_name)
  File "/Library/Python/2.7/site-packages/dynamic_dynamodb-1.7.0_SNAPSHOT-py2.7.egg/dynamic_dynamodb/core/table.py", line 300, in __update_throughput
    'write': int(write_units)
  File "/Library/Python/2.7/site-packages/boto-2.20.1-py2.7.egg/boto/dynamodb2/table.py", line 323, in update
    'WriteCapacityUnits': int(self.throughput['write']),
  File "/Library/Python/2.7/site-packages/boto-2.20.1-py2.7.egg/boto/dynamodb2/layer1.py", line 1469, in update_table
    body=json.dumps(params))
  File "/Library/Python/2.7/site-packages/boto-2.20.1-py2.7.egg/boto/dynamodb2/layer1.py", line 1483, in make_request
    retry_handler=self._retry_handler)
  File "/Library/Python/2.7/site-packages/boto-2.20.1-py2.7.egg/boto/connection.py", line 907, in _mexe
    status = retry_handler(response, i, next_sleep)
  File "/Library/Python/2.7/site-packages/boto-2.20.1-py2.7.egg/boto/dynamodb2/layer1.py", line 1526, in _retry_handler
    data)
boto.exception.JSONResponseError: JSONResponseError: 400 Bad Request
{u'message': u'Subscriber limit exceeded: Provisioned throughput can be decreased only twice within the same day. Number of Decreases Today: 4. Last decrease time: Thursday, December 19, 2013 7:17:42 PM UTC. Request time: Thursday, December 19, 2013 7:23:20 PM UTC', u'__type': u'com.amazonaws.dynamodb.v20120810#LimitExceededException'}
@sebdah sebdah was assigned Dec 20, 2013
@sebdah sebdah added a commit that referenced this issue Dec 20, 2013
@sebdah Fixed exception handling #96 #97 #98 8957d39
@sebdah sebdah closed this Dec 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment