python - Rethinkdb restore defects on CentOS 6.7 -


i've needed reinstall rethinkdb cluster (the works, os etc), , before did made dump, i'm trying import.

so, have rethinkdb cluster , running , have transferred dump file.

but errors in restore command.

preamble:

went centos 7.1 centos 6.7. python client installed, python version 2.6 on centos 6.7. rethinkdb rethinkdb 2.2.3-1

running 3 instances on same server via:

sudo nohup rethinkdb --directory /data/redb1 --bind &

sudo nohup rethinkdb --port-offset 1 --directory /data/redb2 --bind --join localhost:29015 &

sudo nohup rethinkdb --port-offset 2 --directory /data/redb3 --bind --join localhost:29015 &

the problem:

when running following command:

sudo rethinkdb restore rethink_dump.tar.gz -c localhost:28015 --shards 1 --replicas 1

i get:

unzipping archive file...   done (8 seconds) importing directory... traceback (most recent call last):   file "/usr/bin/rethinkdb-import", line 9, in <module>     load_entry_point('rethinkdb==2.2.0-2', 'console_scripts', 'rethinkdb-import')()   file "/usr/lib/python2.6/site-packages/pkg_resources.py", line 299, in load_entry_point     return get_distribution(dist).load_entry_point(group, name)   file "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2229, in load_entry_point     return ep.load()   file "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1948, in load     entry = __import__(self.module_name, globals(),globals(), ['__name__'])   file "/usr/lib/python2.6/site-packages/rethinkdb/_import.py", line 161     res["create_args"] = {k: getattr(options, k) k in ['shards', 'replicas'] if getattr(options, k) != 0}                                                    ^ syntaxerror: invalid syntax error: rethinkdb-import failed 

anyone know goes wrong?

dumping rethinkdb works.

it looks python compatibility error, i'm coming ora/mssql (yes, looking foss driven spending money on people instead of licenses)

cheers

stevns


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -