Comments (9)
what version of cassandra are you running?
On Thursday, 24 July 2014, Daniel Smedegaard Buus [email protected]
wrote:
Hi :)
Trying to get this to work on my EC2 instance...
When I run cassandra-snapshotter on my instance, I get the following
output:[x.x.x.x] Executing task 'node_start_backup'
[x.x.x.x] Executing task 'upload_node_backups'
[x.x.x.x] sudo: cassandra-snapshotter-agent create-upload-manifest --manifest_path=/tmp/backupmanifest --snapshot_name=20140724110014 --snapshot_keyspaces= --snapshot_table= --data_path=/var/lib/cassandra/data/
[x.x.x.x] sudo: cassandra-snapshotter-agent put --aws-access-key-id= --aws-secret-access-key= --s3-bucket-name= --s3-bucket-region=us-west-2 --s3-ssenc --s3-base-path=US_OR_Parser/20140724110014/x.x.x.x --manifest=/tmp/backupmanifest --concurrency=4
[x.x.x.x] out: lzop 1.03
[x.x.x.x] out: LZO library 2.06
[x.x.x.x] out: Copyright (C) 1996-2010 Markus Franz Xaver Johannes Oberhumer
[x.x.x.x] out:[x.x.x.x] Executing task 'clear_node_snapshot'
[x.x.x.x] sudo: /usr/bin/nodetool clearsnapshot -t "20140724110014"
[x.x.x.x] out: Requested clearing snapshot for: all keyspaces
[x.x.x.x] out:[x.x.x.x] sudo: /usr/bin/nodetool ring
And then it exits after a few seconds (code 0).
On S3, it creates folders, but the only two files it puts there are
"manifest.json" and "ring". There are no backup files.incremental_backups is enabled in cassandra.yaml, and JNA is also
installed.Adding --new-snapshot doesn't help.
Am I just being retarded here or is something wrong?
Thanks :)
—
Reply to this email directly or view it on GitHub
#30.
sent from iphone (sorry for the typos)
from cassandra_snapshotter.
2.0.9 from the Datastax PPA on Ubuntu 14.04
from cassandra_snapshotter.
did you try to back up a single keyspace?
2014-07-24 15:27 GMT+03:00 Daniel Smedegaard Buus [email protected]
:
2.0.9 from the Datastax PPA on Ubuntu 14.04
—
Reply to this email directly or view it on GitHub
#30 (comment)
.
from cassandra_snapshotter.
Yes, I tried that as well with the same result.
Any other ideas?
Anything I can do to get some log output or something that might help?
from cassandra_snapshotter.
what's the cassandra's data path? perhaps you use something else than the
standard /var/lib?
2014-07-28 9:36 GMT+02:00 Daniel Smedegaard Buus [email protected]:
Yes, I tried that as well with the same result.
Any other ideas?
Anything I can do to get some log output or something that might help?
—
Reply to this email directly or view it on GitHub
#30 (comment)
.
from cassandra_snapshotter.
That's correct, I have it in /mnt/cassandra :)
I'll try symlinking /var/lib/cassandra => /mnt/cassandra and see what happens.
from cassandra_snapshotter.
the cassandra data path is configurable; you can send a parameter to the
snapshot command (--cassandra-data-path)
I am going to create an issue about this problem; debugging this should be
easier than this.
2014-07-28 10:00 GMT+02:00 Daniel Smedegaard Buus [email protected]
:
That's correct, I have it in /mnt/cassandra :)
I'll try symlinking /var/lib/cassandra => /mnt/cassandra and see what
happens.—
Reply to this email directly or view it on GitHub
#30 (comment)
.
from cassandra_snapshotter.
Indeed that did the trick! Thanks! :)
Cool about the parameter, hadn't seen that.
Thanks again :)
from cassandra_snapshotter.
Actually, on further inspection, the --cassandra-data-path option has no effect.
The only way I can get the snapshotter to actually back up my data on /mnt/cassandra is by symlinking to it from /var/lib/cassandra
from cassandra_snapshotter.
Related Issues (20)
- undefined symbol: _PyErr_ReplaceException when snapshotting HOT 1
- schema backup fails if cassandra rpc_address is not localhost
- Issues with us-west-2 region for s3 HOT 1
- add support for s3 SIA storage class when uploading to s3
- snapshotter aborting while taking snapshot from a 5 TB 3 node cluster HOT 5
- Outdated README
- issue on ubuntu docker - ImportError: No module named 'fabric.api' HOT 8
- Cassandra incremental backups
- Release Latest Version to PyPI
- us-east-2 region fails
- Failure to backup 30GB keyspace HOT 1
- Is there a way to use the tool without ssh ?
- Is there a way to backup a single datacenter HOT 1
- cassandra_snapshotter fails with ImportError: No module named pkg_resources HOT 3
- Add option to use a tarball folder structure
- KeyError: 'data_file_directories'
- Getting Certificate error when trying to take a backup using cassandra-snapshotter
- i want to use the restore feature, cassandra_snapshotter v1.2.0 available to install ??
- Minio support ?
- AWS Keyspace support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cassandra_snapshotter.