DataStax Help Center

OpsCenter backup to S3 fails when keyspaces are empty

Summary

This article discusses a known issue with OpsCenter backups to Amazon S3 failing when a keyspace is empty.

Symptoms

Attempting to perform a full backup of a cluster to Amazon S3 in OpsCenter where at least one keyspace is empty (i.e. no tables created) fails and generates an error. Here is an example log snippet in opscenterd.log:

2016-11-28 10:10:01,234 [Cassandra Cluster]  INFO: Performing a backup of all keyspaces (MainThread)
2016-11-28 10:10:01,345 [opscenterd]  INFO: Checking for solr schema. (MainThread)
2016-11-28 10:10:01,456 [opscenterd] ERROR: Problem while calling decorator (TypeError): 'com.datastax.driver.core.ArrayBackedRow' object is not iterable
  File "/usr/share/opscenter/lib/py/twisted/internet/defer.py", line 1122, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)

  File "/usr/share/opscenter/lib/py/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)

  File "/usr/share/opscenter/lib/py/twisted/internet/defer.py", line 1122, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)

  File "/usr/share/opscenter/lib/py/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)

  File "/usr/share/opscenter/lib/py/twisted/internet/defer.py", line 1122, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)

  File "/usr/share/opscenter/lib/py/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)

  File "/usr/share/opscenter/lib/py/twisted/internet/defer.py", line 1124, in _inlineCallbacks
    result = g.send(result)

  File "/usr/share/opscenter/jython/Lib/site-packages/opscenterd/CassandraService.py", line 552, in getSolrSchema
 (MainThread)

Cause

The cause of the issue is under investigation (internal defect ID OPSC-10863).

Workaround

Drop any empty keyspaces to allow backups to complete successfully.

Solution

A fix is currently not available. Subscribe to this article by clicking on the "Follow" button below to be notified when OPSC-10863 has been fixed.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk