GithubHelp home page GithubHelp logo

Comments (9)

tbarbugli avatar tbarbugli commented on August 23, 2024

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.

DanielSmedegaardBuus avatar DanielSmedegaardBuus commented on August 23, 2024

2.0.9 from the Datastax PPA on Ubuntu 14.04

from cassandra_snapshotter.

tbarbugli avatar tbarbugli commented on August 23, 2024

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.

DanielSmedegaardBuus avatar DanielSmedegaardBuus commented on August 23, 2024

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.

tbarbugli avatar tbarbugli commented on August 23, 2024

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.

DanielSmedegaardBuus avatar DanielSmedegaardBuus commented on August 23, 2024

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.

tbarbugli avatar tbarbugli commented on August 23, 2024

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.

DanielSmedegaardBuus avatar DanielSmedegaardBuus commented on August 23, 2024

Indeed that did the trick! Thanks! :)

Cool about the parameter, hadn't seen that.

Thanks again :)

from cassandra_snapshotter.

DanielSmedegaardBuus avatar DanielSmedegaardBuus commented on August 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.