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

<stdin>:1:InvalidRequest: Error from server: code=2200 [Invalid query] message="unconfigured table schema_columnfamilies" #5

Open
bingoku opened this issue Dec 14, 2017 · 0 comments

Comments

@bingoku
Copy link

bingoku commented Dec 14, 2017

(latest_v2) [root@cassandra-10-0-0-5 cassandra-repair]# python cassandra_repair.py
2017-12-14 13:23:05,242 - INFO - Locked process: 'cassandra-repair-utility'
2017-12-14 13:23:05,242 - DEBUG - Reading config file config.yaml
2017-12-14 13:23:05,246 - INFO - Gathering cassandra keyspace information.
2017-12-14 13:23:05,826 - DEBUG - Found 7 keyspaces: [u'count', u'system_schema', u'system_distributed', u'logs', u'system_auth', u'base', u'system_traces']
2017-12-14 13:23:05,826 - WARNING - Blacklisting ['count', 'system_schema', 'logs', 'system_auth', 'system_traces'] keyspaces, they will not be repaired.
<stdin>:1:InvalidRequest: Error from server: code=2200 [Invalid query] message="unconfigured table schema_columnfamilies"
Traceback (most recent call last):
  File "cassandra_repair.py", line 281, in <module>
    repair_manager = RepairManager(args.config_file)
  File "cassandra_repair.py", line 35, in __init__
    self._keyspace_map = self._get_keyspace_info()
  File "cassandra_repair.py", line 97, in _get_keyspace_info
    info[k] = self._get_columnfamilies(k)
  File "cassandra_repair.py", line 122, in _get_columnfamilies
    output = self._decode(subprocess.check_output(cmd)).strip().split('\n')
  File "/root/pyenv/versions/2.7.13/lib/python2.7/subprocess.py", line 219, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['cqlsh', '10.0.0.191', '-e', "select columnfamily_name from system.schema_columnfamilies WHERE keyspace_name='base';"]' returned non-zero exit status 2
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