You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Enrico Sola <so...@gmail.com> on 2015/11/19 08:13:38 UTC
Cassandra 3.0.0 connection problem
Hi, I'm new to Cassandra and I've recently upgraded to 3.0.0 on Ubuntu Linux 14.04 LTS, through apt-get upgrade not manual installation, after the update all was fine so I could access to my keyspaces using cqlsh but I can't access to Cassandra using DataStax PHP Driver because I get this error: "No hosts available for the control connection”.
The connection parameters are the same of 2.2.3 version (and was working fine).
I don't know if is this a bug or a problem of the PHP driver but my systems use Cassandra and are now offline, so it's a known issue with a solution?
I tried also to downgrade to 2.2.3 version but after that Cassandra didn't start due to keyspace loading problem, I'm just looking for a quick solution so doesn't matter if I have to downgrade to 2.2.3, so how can I do the downgrade without lose my datas?
Thanks very much for help!
Best regards,
Enrico
Re: Cassandra 3.0.0 connection problem
Posted by Enrico Sola <so...@gmail.com>.
Thanks for informations, I’m happy to hear that an update is under working, seeing only one version which it’s only partially compatible with 2.1 I feared that the PHP driver project was abandoned.
Enrico
> Il giorno 20 nov 2015, alle ore 20:05, Alex Popescu <al...@datastax.com> ha scritto:
>
> Hi Enrico,
>
> As Tyler mentioned, Cassandra 3.0 introduced some major changes to the system tables, which are critical to the way DataStax drivers work, that prevented drivers to connect. We are addressing these changes as fast as we can, but for the PHP driver we need to firstly update the underlying C/C++ driver and this is already being worked on. I don't have yet a time-frame to share though, but we know how important it is to have these out as soon as possible.
>
> Thanks for your understanding
>
> On Friday, November 20, 2015, Enrico Sola <sola.enrico.93@gmail.com <ma...@gmail.com>> wrote:
> I've seen now that the DataStax PHP driver (version 1.0.0, the only available on github) it's only partially compatible with Cassandra 2.1, I used it until 2.2.3, in fact in this one I can't use useful data type like FROZEN or TUPLE.
> On the DataStax developer blog that talk about a new beta version but nothing has been released yet, I don't know why PHP driver has not been updated with these latest Cassandra updates, I hope for a quick new release for 3.0.0.
> About downgrade unfortunately I forget about snapshot so I exported in another way and after that completely uninstalled and installed again.
> Thanks for informations!
>
> Enrico
>
>
>> Il giorno 19 nov 2015, alle ore 19:10, Tyler Hobbs <tyler@datastax.com <javascript:_e(%7B%7D,'cvml','tyler@datastax.com');>> ha scritto:
>>
>>
>> On Thu, Nov 19, 2015 at 1:13 AM, Enrico Sola <sola.enrico.93@gmail.com <javascript:_e(%7B%7D,'cvml','sola.enrico.93@gmail.com');>> wrote:
>> Hi, I'm new to Cassandra and I've recently upgraded to 3.0.0 on Ubuntu Linux 14.04 LTS, through apt-get upgrade not manual installation, after the update all was fine so I could access to my keyspaces using cqlsh but I can't access to Cassandra using DataStax PHP Driver because I get this error: "No hosts available for the control connection”.
>> The connection parameters are the same of 2.2.3 version (and was working fine).
>> I don't know if is this a bug or a problem of the PHP driver but my systems use Cassandra and are now offline, so it's a known issue with a solution?
>>
>> I don't think the PHP driver supports Cassandra 3.0 yet. There were some changes to the system schema tables that are probably preventing it from connecting successfully.
>>
>> I tried also to downgrade to 2.2.3 version but after that Cassandra didn't start due to keyspace loading problem, I'm just looking for a quick solution so doesn't matter if I have to downgrade to 2.2.3, so how can I do the downgrade without lose my datas?
>>
>> Downgrading major versions isn't supported, which is why we recommend that you take a snapshot before upgrading. Your only real option for downgrading without data loss is to dump your data (using cqlsh's COPY TO or something similar) and then re-load it on 2.2 (using cqlsh's COPY FROM or something similar).
>>
>>
>> --
>> Tyler Hobbs
>> DataStax <http://datastax.com/>
>
>
>
> --
> Bests,
>
> Alex Popescu | @al3xandru
> Sen. Product Manager @ DataStax
>
>
Re: Cassandra 3.0.0 connection problem
Posted by Alex Popescu <al...@datastax.com>.
Hi Enrico,
As Tyler mentioned, Cassandra 3.0 introduced some major changes to the
system tables, which are critical to the way DataStax drivers work, that
prevented drivers to connect. We are addressing these changes as fast as we
can, but for the PHP driver we need to firstly update the underlying C/C++
driver and this is already being worked on. I don't have yet a time-frame
to share though, but we know how important it is to have these out as soon
as possible.
Thanks for your understanding
On Friday, November 20, 2015, Enrico Sola <so...@gmail.com> wrote:
> I've seen now that the DataStax PHP driver (version 1.0.0, the only
> available on github) it's only partially compatible with Cassandra 2.1, I
> used it until 2.2.3, in fact in this one I can't use useful data type like
> FROZEN or TUPLE.
> On the DataStax developer blog that talk about a new beta version but
> nothing has been released yet, I don't know why PHP driver has not been
> updated with these latest Cassandra updates, I hope for a quick new release
> for 3.0.0.
> About downgrade unfortunately I forget about snapshot so I exported in
> another way and after that completely uninstalled and installed again.
> Thanks for informations!
>
> Enrico
>
>
> Il giorno 19 nov 2015, alle ore 19:10, Tyler Hobbs <tyler@datastax.com
> <javascript:_e(%7B%7D,'cvml','tyler@datastax.com');>> ha scritto:
>
>
> On Thu, Nov 19, 2015 at 1:13 AM, Enrico Sola <sola.enrico.93@gmail.com
> <javascript:_e(%7B%7D,'cvml','sola.enrico.93@gmail.com');>> wrote:
>
>> Hi, I'm new to Cassandra and I've recently upgraded to 3.0.0 on Ubuntu
>> Linux 14.04 LTS, through apt-get upgrade not manual installation, after the
>> update all was fine so I could access to my keyspaces using cqlsh but I
>> can't access to Cassandra using DataStax PHP Driver because I get this
>> error: "No hosts available for the control connection”.
>> The connection parameters are the same of 2.2.3 version (and was working
>> fine).
>> I don't know if is this a bug or a problem of the PHP driver but my
>> systems use Cassandra and are now offline, so it's a known issue with a
>> solution?
>>
>
> I don't think the PHP driver supports Cassandra 3.0 yet. There were some
> changes to the system schema tables that are probably preventing it from
> connecting successfully.
>
>
>> I tried also to downgrade to 2.2.3 version but after that Cassandra
>> didn't start due to keyspace loading problem, I'm just looking for a quick
>> solution so doesn't matter if I have to downgrade to 2.2.3, so how can I do
>> the downgrade without lose my datas?
>>
>
> Downgrading major versions isn't supported, which is why we recommend that
> you take a snapshot before upgrading. Your only real option for
> downgrading without data loss is to dump your data (using cqlsh's COPY TO
> or something similar) and then re-load it on 2.2 (using cqlsh's COPY FROM
> or something similar).
>
>
> --
> Tyler Hobbs
> DataStax <http://datastax.com/>
>
>
>
--
Bests,
Alex Popescu | @al3xandru
Sen. Product Manager @ DataStax
Re: Cassandra 3.0.0 connection problem
Posted by Enrico Sola <so...@gmail.com>.
I've seen now that the DataStax PHP driver (version 1.0.0, the only available on github) it's only partially compatible with Cassandra 2.1, I used it until 2.2.3, in fact in this one I can't use useful data type like FROZEN or TUPLE.
On the DataStax developer blog that talk about a new beta version but nothing has been released yet, I don't know why PHP driver has not been updated with these latest Cassandra updates, I hope for a quick new release for 3.0.0.
About downgrade unfortunately I forget about snapshot so I exported in another way and after that completely uninstalled and installed again.
Thanks for informations!
Enrico
> Il giorno 19 nov 2015, alle ore 19:10, Tyler Hobbs <ty...@datastax.com> ha scritto:
>
>
> On Thu, Nov 19, 2015 at 1:13 AM, Enrico Sola <sola.enrico.93@gmail.com <ma...@gmail.com>> wrote:
> Hi, I'm new to Cassandra and I've recently upgraded to 3.0.0 on Ubuntu Linux 14.04 LTS, through apt-get upgrade not manual installation, after the update all was fine so I could access to my keyspaces using cqlsh but I can't access to Cassandra using DataStax PHP Driver because I get this error: "No hosts available for the control connection”.
> The connection parameters are the same of 2.2.3 version (and was working fine).
> I don't know if is this a bug or a problem of the PHP driver but my systems use Cassandra and are now offline, so it's a known issue with a solution?
>
> I don't think the PHP driver supports Cassandra 3.0 yet. There were some changes to the system schema tables that are probably preventing it from connecting successfully.
>
> I tried also to downgrade to 2.2.3 version but after that Cassandra didn't start due to keyspace loading problem, I'm just looking for a quick solution so doesn't matter if I have to downgrade to 2.2.3, so how can I do the downgrade without lose my datas?
>
> Downgrading major versions isn't supported, which is why we recommend that you take a snapshot before upgrading. Your only real option for downgrading without data loss is to dump your data (using cqlsh's COPY TO or something similar) and then re-load it on 2.2 (using cqlsh's COPY FROM or something similar).
>
>
> --
> Tyler Hobbs
> DataStax <http://datastax.com/>
Re: Cassandra 3.0.0 connection problem
Posted by Tyler Hobbs <ty...@datastax.com>.
On Thu, Nov 19, 2015 at 1:13 AM, Enrico Sola <so...@gmail.com>
wrote:
> Hi, I'm new to Cassandra and I've recently upgraded to 3.0.0 on Ubuntu
> Linux 14.04 LTS, through apt-get upgrade not manual installation, after the
> update all was fine so I could access to my keyspaces using cqlsh but I
> can't access to Cassandra using DataStax PHP Driver because I get this
> error: "No hosts available for the control connection”.
> The connection parameters are the same of 2.2.3 version (and was working
> fine).
> I don't know if is this a bug or a problem of the PHP driver but my
> systems use Cassandra and are now offline, so it's a known issue with a
> solution?
>
I don't think the PHP driver supports Cassandra 3.0 yet. There were some
changes to the system schema tables that are probably preventing it from
connecting successfully.
> I tried also to downgrade to 2.2.3 version but after that Cassandra didn't
> start due to keyspace loading problem, I'm just looking for a quick
> solution so doesn't matter if I have to downgrade to 2.2.3, so how can I do
> the downgrade without lose my datas?
>
Downgrading major versions isn't supported, which is why we recommend that
you take a snapshot before upgrading. Your only real option for
downgrading without data loss is to dump your data (using cqlsh's COPY TO
or something similar) and then re-load it on 2.2 (using cqlsh's COPY FROM
or something similar).
--
Tyler Hobbs
DataStax <http://datastax.com/>
Re: Cassandra 3.0.0 connection problem
Posted by Robert Coli <rc...@eventbrite.com>.
On Wed, Nov 18, 2015 at 11:13 PM, Enrico Sola <so...@gmail.com>
wrote:
> Hi, I'm new to Cassandra and I've recently upgraded to 3.0.0 on Ubuntu
> Linux 14.04 LTS
>
https://www.eventbrite.com/engineering/what-version-of-cassandra-should-i-run/
=Rob