Thanks Michael,

Are there any data changes that I need to worry about?

Eren 

-----Original Message-----
From: Michael Shuler [mailto:mshu...@pbandjelly.org] On Behalf Of Michael Shuler
Sent: Friday, April 7, 2017 9:20 PM
To: user@cassandra.apache.org
Subject: Re: Migrating from Datastax Distribution to Apache Cassandra

Example DDC 3.7.0 to Apache Cassandra 3.10 upgrade with all default configs, no 
data, and both the DDC and Apache Cassandra lines in sources.list (sorry for 
any weird wrapping, but I think the list strips
attachments):

mshuler@hana:~$ apt-cache policy datastax-ddc cassandra
datastax-ddc:
  Installed: (none)
  Candidate: 3.7.0
  Version table:
     3.7.0 0
        500 https://debian.datastax.com/datastax-ddc/ 3.7/main amd64 Packages
cassandra:
  Installed: (none)
  Candidate: 3.10
  Version table:
     3.10 0
        500 http://www.apache.org/dist/cassandra/debian/ 310x/main amd64 
Packages mshuler@hana:~$ mshuler@hana:~$ sudo apt-get install datastax-ddc 
Reading package lists... Done Building dependency tree Reading state 
information... Done The following extra packages will be installed:
  datastax-ddc-tools
The following NEW packages will be installed:
  datastax-ddc datastax-ddc-tools
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.4 MB of archives.
After this operation, 38.0 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https://debian.datastax.com/datastax-ddc/ 3.7/main datastax-ddc all 3.7.0 
[28.4 MB]
Get:2 https://debian.datastax.com/datastax-ddc/ 3.7/main datastax-ddc-tools all 
3.7.0 [4,484 B] Fetched 28.4 MB in 3s (8,210 kB/s) Selecting previously 
unselected package datastax-ddc.
(Reading database ... 171852 files and directories currently installed.) 
Preparing to unpack .../datastax-ddc_3.7.0_all.deb ...
Unpacking datastax-ddc (3.7.0) ...
Selecting previously unselected package datastax-ddc-tools.
Preparing to unpack .../datastax-ddc-tools_3.7.0_all.deb ...
Unpacking datastax-ddc-tools (3.7.0) ...
Processing triggers for systemd (215-17+deb8u6) ...
Setting up datastax-ddc (3.7.0) ...
vm.max_map_count = 1048575
net.ipv4.tcp_keepalive_time = 300
update-rc.d: warning: start and stop actions are no longer supported; falling 
back to defaults Setting up datastax-ddc-tools (3.7.0) ...
Processing triggers for systemd (215-17+deb8u6) ...
mshuler@hana:~$
mshuler@hana:~$ sudo apt-get install cassandra cassandra-tools Reading package 
lists... Done Building dependency tree Reading state information... Done The 
following packages will be REMOVED:
  datastax-ddc datastax-ddc-tools
The following NEW packages will be installed:
  cassandra cassandra-tools
0 upgraded, 2 newly installed, 2 to remove and 0 not upgraded.
Need to get 29.2 MB of archives.
After this operation, 939 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://www.apache.org/dist/cassandra/debian/ 310x/main cassandra all 3.10 
[29.2 MB]
Get:2 http://www.apache.org/dist/cassandra/debian/ 310x/main cassandra-tools 
all 3.10 [4,558 B] Fetched 29.2 MB in 2s (13.6 MB/s) (Reading database ... 
172046 files and directories currently installed.) Removing datastax-ddc-tools 
(3.7.0) ...
Removing datastax-ddc (3.7.0) ...
Selecting previously unselected package cassandra.
(Reading database ... 171870 files and directories currently installed.) 
Preparing to unpack .../cassandra_3.10_all.deb ...
Unpacking cassandra (3.10) ...
Selecting previously unselected package cassandra-tools.
Preparing to unpack .../cassandra-tools_3.10_all.deb ...
Unpacking cassandra-tools (3.10) ...
Processing triggers for systemd (215-17+deb8u6) ...
Setting up cassandra (3.10) ...
Installing new version of config file /etc/cassandra/cassandra-env.sh ...
Installing new version of config file /etc/cassandra/cassandra.yaml ...
Installing new version of config file /etc/cassandra/jvm.options ...
Installing new version of config file /etc/cassandra/logback-tools.xml ...
Installing new version of config file /etc/cassandra/logback.xml ...
vm.max_map_count = 1048575
net.ipv4.tcp_keepalive_time = 300
update-rc.d: warning: start and stop actions are no longer supported; falling 
back to defaults Setting up cassandra-tools (3.10) ...
mshuler@hana:~$

--
Warm regards,
Michael

Reply via email to