sstabledump on ubuntu packaged installs - cassandra

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.

Related

sstabledump not found on Cassandra 3.11 ubuntu 16.04

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

Regarding to installation of Gsreamer 1.8.0 in ubuntu

Can any one give me the proper guidelines for gstreamer(1.8.0) installation in Ubuntu version 16.04??
Through command line
For installing gstreamer1.0 you can use:
sudo apt-get install libgstreamer1.0-* gstreamer1.0-tools gstreamer1.0-libav*
Depending on what are your needs, you probably are going to need other modules that are not installed in the previous command. I would consider adding:
gst-plugins-base
gst-plugins-good
gst-plugins-bad
gst-plugins-ugly
Using next command:
sudo apt-get install gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly
After you have installed all the plugins you can verify the installation using:
gst-inspect-1.0

Linux: How to install certain old version of a software via apt-get

I am trying to install the same versions of Apache, MySQL and PHP in my Linux PC (Raspberry Debian) as installed in my remote public server.
For instance, I'd like to install the last legacy release of the 2.2 branch, Apache/2.2.31.
apt-cache showpkg apache2
Output:
Package: apache2
Versions:
2.4.10-10+deb8u4 (/var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_main_binary-armhf_Packages)
But there isn't any information about the 2.2.31 version, neither in "Reverse Provides" section. I can do it by compiling from the sources, but it takes a lot of time. And I tried to find a reliable PPA or a reliable sources for deb packages, without any success.
How can I do it?
If APT tracks the specific version you are looking for, (like Kyle said) then it's pretty easy.
sudo apt-get install <pkg_name>=<pkg_version>
or
sudo apt-get -t=<target_version> <pkg_name>
To see which packages are tracked, run
apt-cache showpkg <package_name>
Unfortunately though, if a particular version is not managed by the APT, then you are out of luck using APT. It might be managed by some of the other package managers out there.
Ref. How can I downgrade a package via apt-get?
If you have the version number, or the target release, apt-get supports choosing a particular version or target release. More details can be found on manual page of apt-get. It can also be accessed from a terminal by typing man apt-get.
sudo apt-get install <package-name>=<package-version-number>
or
sudo apt-get -t=<target release> install <package-name>

Missing hadoop package in Bigtop (centos) - installation issue

I am trying to install bigtop on centos6 (VM using virtualbox).
I am following links given below with little modifications to get latest versions (bigtop 1.1.0) -
http://www.dummies.com/how-to/content/set-up-the-hadoop-environment-with-apache-bigtop.html
https://cwiki.apache.org/confluence/display/BIGTOP/How+to+install+Hadoop+distribution+from+Bigtop+0.5.0
To be precise, I have run following commands till now -
wget -O /etc/yum.repos.d/bigtop.repo http://www.apache.org/dist/bigtop/bigtop-1.1.0/repos/centos6/bigtop.repo
yum install hadoop\* mahout\* oozie\* hbase\* hive\* hue\* pig\* zookeeper\*
Now the problem is, it says -
No package hadoop* available.
No package hue* available.
No package zookeeper* available.
I am new to linux and don't completely understand what exactly these commands are doing. I have wasted an entire day on this. As I am just trying to explore hadoop on my VM, I am fine if I can get some older version of bigtop too but I would prefer that I can get atleast hadoop 2.0 or above.
Can someone help on this?
Thanks.
You have to run sudo apt-get update between adding new repository and installing packages from it.

Installing cassandra in ubuntu?

I have already installed cassandra in ubuntu using with wiki
Problem is I have no control over which version to install and upgrade to in feature.
I am want to be able to install specific version not just latest, because i have a machine running 0.6.2 now i want a another node and i want to install 0.6.2.
How can i install debian package for specific version instead of latest one?
for installing a specific version of cassandra you can do something like this:
in this case i want to install cassandra 1.2.8
sudo apt-get clean
sudo apt-get update
sudo apt-get install cassandra=1.2.8
The best way to do something like this, that I have found so far is pinning. This is a little inconvenient at the moment because you have to manually create the pinning preferences (and change them if necessary). Also, the pinning will not work with aptitude in case you use this.
Another example is the pinning I have done for php here. However, you have to make sure that whatever version you want to have is available in the repos/ppas that you have configured in your sources.list (sources.list.d).

Resources