sstabledump not found on Cassandra 3.11 ubuntu 16.04 - cassandra

I have installed Cassandra 311 on ubuntu 1604. Everything works fine but I am not able to find SSTABLEDUMP utility in the bin folder.
How can I get this installed as patch? Or I am missing something?
Thanks.

Depending on which version you have installed:
DataStax Enterprise 5.0 Installer No-Services and tarball installations:
install_location/resources/cassandra/tools/bin
Cassandra tarball installations:
install_location/tools/bin/
For package installations (Cassandra package or DataStax Enterprise 5.0 Installer Services and package installations) you do not need to know the installation folder to run it, you can just simply use it as:
sstabledump [options] sstable_file
https://docs.datastax.com/en/cassandra/3.0/cassandra/tools/ToolsSSTabledump.html
Also to have the tools, you need to install cassandra-tools separately apart from cassandra:
sudo apt-get install cassandra-tools

Related

How to install Apache Cassandra on CentOS 7?

Cassandra installation documentation mentions installation from a tarball or as a Debian package. Is there a way to install it using yum, now that DataStax does not provides the distribution?
CentOS uses RPM as package format as far as I can remember. So look on http://cassandra.apache.org/download/:
Installation from RPM packages
For the specify the major version number, without dot, and with an appended x. The latest is 311x. For older releases, the can be one of 30x, 22x, or 21x.
(Not all versions of Apache Cassandra are available, since building RPMs is a recent addition to the project.)
Add the Apache repository of Cassandra to /etc/yum.repos.d/cassandra.repo, for example for the latest 3.11 version:
[cassandra]
name=Apache Cassandra
baseurl=https://www.apache.org/dist/cassandra/redhat/311x/
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://www.apache.org/dist/cassandra/KEYS
Install Cassandra, accepting the gpg key import prompts:
sudo yum install cassandra
Start Cassandra (will not start automatically):
service cassandra start
Systemd based distributions may require to run systemctl daemon-reload once to make Cassandra available as a systemd service. This should happen automatically by running the command above.
Make Cassandra start automatically after reboot:
chkconfig cassandra on
Please note that official RPMs for Apache Cassandra only have been available recently and are not tested thoroughly on all platforms yet. We appreciate your feedback and support and ask you to post details on any issues in the corresponding Jira ticket.

How to install Datastax DevCenter without Cassandra database

I have downloaded and installed Cassandra according to this guide: http://cassandra.apache.org/download/
Now I'd like to install Datastax DevCenter, but the problem is that I cannot find a standalone Datastax DevCenter download and / or instructions how to download and install only the Datastax DevCenter without installing and setting up yet another Cassandra node.
DeveCenter installation guide: http://docs.datastax.com/en/developer/devcenter/doc/devcenter/dcInstallation.html
According to the video the install will setup Cassandra node and optionally install DevCenter and other tools.
It is also said that the APT package installer does not install DevCenter:
http://docs.datastax.com/en/datastax_enterprise/5.0/datastax_enterprise/install/installDEBdse.html
I have Ubuntu 16.04
Sorry to answer my own question, but I found the link where to download all datastax tools:
https://academy.datastax.com/downloads/ops-center?destination=downloads/ops-center&dxt=DXcom

how to uninstall couchdb 1.6.1 version in debian system

I have couchdb 1.6.1 installed on my debian machine. I want to uninstall it.
I tried using apt-get remove/purge couchdb/couchdb-bin. This did not help uninstalling couchdb.Is there any other way to uninstall couchdb from debian machine?
The latest Debian CouchDB package is 1.4, so you probably installed following the wiki procedure. Looking at the Makefile in the specified tarball, there's an uninstall.
Find where you extracted the CouchDB source tarball and run:
make uninstall

sstabledump on ubuntu packaged installs

According to the specs, Cassandra should have the command line tool sstabledump available since its versions 3.0.4 and 3.4.
I cannot find this tool, although I successfully installed Cassandra 3.5 together with the tools.
I used the following source
deb http://www.apache.org/dist/cassandra/debian 35x main
and the following commands:
sudo apt-get install cassandra
sudo apt-get install cassandra-tools
What am I missing here?
Thanks,
medvekoma
It looks like the sstabledump utility hasn't been added to the cassandra-tools.install in the cassandra debian install on trunk. I'd suggest raising a jira for this here.

Missing JAR manifest after running DataStax Enterprise 4.7

I tried installing it 2 times and still got the same error.
I followed the instructions here. http://docs.datastax.com/en/datastax_enterprise/4.7/datastax_enterprise/install/installDEBdse.html
root#node1:~$ Error opening zip file or JAR manifest missing : /usr/sbin/../lib/jamm-0.3.0.jar
Error occurred during initialization of VM
agent library failed to init: instrument
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.04.2)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
TL;DR: Somehow you need to get ./resources/cassandra/lib/jamm-0.3.0.jar in your your DSE installation directory and remove any older versions.
DSE 4.7 uses Cassandra 2.1.8 under the hood. C* 2.1 uses jamm 3.0. Older versions of cassandra, 2.0 and previous used jamm 2.5. If you had a previous install of either an older c* or an older DSE on this environment, some of your old dependencies may be stuck.
If you're on Debian using the package installer try running:
sudo aptitude install dse-full=version
Which should pick up the right dependencies.
If not, apt-get purge dse-full and then re-installing might also work.
There are similar commands for yum in RHEL.

Resources