Skip to content

Instantly share code, notes, and snippets.

@mattias-lidman
Created November 12, 2014 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattias-lidman/258d2734f5c3a5341b20 to your computer and use it in GitHub Desktop.
Save mattias-lidman/258d2734f5c3a5341b20 to your computer and use it in GitHub Desktop.
In [28]: new_cf.truncate()
---------------------------------------------------------------------------
MaximumRetryException Traceback (most recent call last)
/usr/share/gearbox/nexus/versions/sandbox-JIRA-GRAPH-1480-2014-11-05_03-50-14/graph/lib/python2.7/site-packages/globusonline-RELEASE_2011_06_06-py2.7.egg/EGG-INFO/scripts/admin in <module>()
----> 1 new_cf.truncate()
/usr/share/gearbox/nexus/versions/sandbox-JIRA-GRAPH-1480-2014-11-05_03-50-14/graph/lib/python2.7/site-packages/pycassa/columnfamily.pyc in truncate(self)
991
992 """
--> 993 self.pool.execute('truncate', self.column_family)
994
995 PooledColumnFamily = ColumnFamily
/usr/share/gearbox/nexus/versions/sandbox-JIRA-GRAPH-1480-2014-11-05_03-50-14/graph/lib/python2.7/site-packages/pycassa/pool.pyc in execute(self, f, *args, **kwargs)
544 try:
545 conn = self.get()
--> 546 return getattr(conn, f)(*args, **kwargs)
547 finally:
548 if conn:
/usr/share/gearbox/nexus/versions/sandbox-JIRA-GRAPH-1480-2014-11-05_03-50-14/graph/lib/python2.7/site-packages/pycassa/pool.pyc in new_f(self, *args, **kwargs)
142
143 kwargs['reset'] = True
--> 144 return new_f(self, *args, **kwargs)
145
146 new_f.__name__ = f.__name__
/usr/share/gearbox/nexus/versions/sandbox-JIRA-GRAPH-1480-2014-11-05_03-50-14/graph/lib/python2.7/site-packages/pycassa/pool.pyc in new_f(self, *args, **kwargs)
142
143 kwargs['reset'] = True
--> 144 return new_f(self, *args, **kwargs)
145
146 new_f.__name__ = f.__name__
/usr/share/gearbox/nexus/versions/sandbox-JIRA-GRAPH-1480-2014-11-05_03-50-14/graph/lib/python2.7/site-packages/pycassa/pool.pyc in new_f(self, *args, **kwargs)
142
143 kwargs['reset'] = True
--> 144 return new_f(self, *args, **kwargs)
145
146 new_f.__name__ = f.__name__
/usr/share/gearbox/nexus/versions/sandbox-JIRA-GRAPH-1480-2014-11-05_03-50-14/graph/lib/python2.7/site-packages/pycassa/pool.pyc in new_f(self, *args, **kwargs)
142
143 kwargs['reset'] = True
--> 144 return new_f(self, *args, **kwargs)
145
146 new_f.__name__ = f.__name__
/usr/share/gearbox/nexus/versions/sandbox-JIRA-GRAPH-1480-2014-11-05_03-50-14/graph/lib/python2.7/site-packages/pycassa/pool.pyc in new_f(self, *args, **kwargs)
142
143 kwargs['reset'] = True
--> 144 return new_f(self, *args, **kwargs)
145
146 new_f.__name__ = f.__name__
/usr/share/gearbox/nexus/versions/sandbox-JIRA-GRAPH-1480-2014-11-05_03-50-14/graph/lib/python2.7/site-packages/pycassa/pool.pyc in new_f(self, *args, **kwargs)
137 if self.max_retries != -1 and self._retry_count > self.max_retries:
138 raise MaximumRetryException('Retried %d times. Last failure was %s: %s' %
--> 139 (self._retry_count, exc.__class__.__name__, exc))
140 # Exponential backoff
141 time.sleep(_BASE_BACKOFF * (2 ** self._retry_count))
MaximumRetryException: Retried 6 times. Last failure was timeout: timed out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment