Re: Cassandra 3.0.0 connection problem

2015-11-30 Thread Robert Coli
On Wed, Nov 18, 2015 at 11:13 PM, Enrico Sola 
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


Re: Cassandra 3.0.0 connection problem

2015-11-20 Thread Enrico Sola
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  ha 
> scritto:
> 
> 
> On Thu, Nov 19, 2015 at 1:13 AM, Enrico Sola  > 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 



Re: Cassandra 3.0.0 connection problem

2015-11-20 Thread Alex Popescu
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  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  > ha scritto:
>
>
> On Thu, Nov 19, 2015 at 1:13 AM, Enrico Sola  > 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 
>
>
>

-- 
Bests,

Alex Popescu | @al3xandru
Sen. Product Manager @ DataStax


Re: Cassandra 3.0.0 connection problem

2015-11-19 Thread Tyler Hobbs
On Thu, Nov 19, 2015 at 1:13 AM, Enrico Sola 
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 


Cassandra 3.0.0 connection problem

2015-11-18 Thread Enrico Sola
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