Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cassandra timeouts with resetdb #64

Open
r0mainK opened this issue Jun 26, 2018 · 0 comments
Open

Cassandra timeouts with resetdb #64

r0mainK opened this issue Jun 26, 2018 · 0 comments

Comments

@r0mainK
Copy link
Contributor

r0mainK commented Jun 26, 2018

When resetting the cassandra DB, I often get this error:

root@rom-gpu-dbc68df59-kf6qw:/# apollo resetdb --cassandra cassandra
INFO:cassandra:Connecting to cassandra
DROP KEYSPACE IF EXISTS apollo;
Traceback (most recent call last):
  File "/usr/local/bin/apollo", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.4/dist-packages/apollo/__main__.py", line 228, in main
    return handler(args)
  File "/usr/local/lib/python3.4/dist-packages/apollo/cassandra_utils.py", line 67, in reset_db
    cql("DROP KEYSPACE IF EXISTS %s" % args.keyspace)
  File "/usr/local/lib/python3.4/dist-packages/apollo/cassandra_utils.py", line 64, in cql
    db.execute(cmd)
  File "cassandra/cluster.py", line 2141, in cassandra.cluster.Session.execute
  File "cassandra/cluster.py", line 4033, in cassandra.cluster.ResponseFuture.result
cassandra.OperationTimedOut: errors={'10.2.13.74': 'Client request timeout. See Session.execute[_async](timeout)'}, last_host=10.2.13.74

Gonna look into it when I get time, it's a relatively minor problem, as simply retrying the command will often do the trick, but would like to correct this if possible.

@r0mainK r0mainK changed the title Cassandra timeouts Cassandra timeouts with resetdb Jun 26, 2018
@r0mainK r0mainK self-assigned this Jun 26, 2018
@r0mainK r0mainK removed their assignment Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant