You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Tim Dunphy <bl...@gmail.com> on 2014/10/20 01:23:31 UTC
cqsl doesn't work cassandra 2.1.0
Hey All,
I've upgraded to Cassandra 2.1.0. And now I can't seem to use cqlsh, tho my
application is working fine. This is what I bet when I run the cqslh
command:
Can't locate transport factory function
cqlshlib.tfactory.regular_transport_factory
How can I fix this problem?
Thanks
Tim
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
Re: cqsl doesn't work cassandra 2.1.0
Posted by Tim Dunphy <bl...@gmail.com>.
Oh hey guys,
Sorry for all the trouble. I decided to fall back to a fresh tar ball of
cassandra 2.1.0 and now everything appears to be working.
[root@beta-new:~] #cqlsh
Connected to Jokefire Cluster at beta-new.jokefire.com:9042.
[cqlsh 5.0.1 | Cassandra 2.1.0 | CQL spec 3.2.0 | Native protocol v3]
Use HELP for help.
It turns out that puppet appeared to have interfered with the previous
install and copied and old version of cqlsh into place. But I've corrected
that problem now, and I don't believe that'll be an issue at this point.
Thanks again for your help!
Tim
On Tue, Oct 21, 2014 at 10:12 AM, Tim Dunphy <bl...@gmail.com> wrote:
> Hi Ben,
>
> Nope, I don't seem to have an rc file for cassandra.
>
> [root@beta-new:~] #ls -l ~/.cassandra/cqlshrc
> ls: cannot access /root/.cassandra/cqlshrc: No such file or directory
>
> If I do a find from root, I do see that there are some cqlshrc.sampl
> files. But I don't seem to have one that's active.
>
> Any other thoughts ?
>
> Thanks!
>
> Tim
>
> On Mon, Oct 20, 2014 at 10:47 PM, Ben Bromhead <be...@instaclustr.com>
> wrote:
>
>> check if you have an existing ~/.cassandra/cqlshrc file
>>
>> On 21 October 2014 12:48, Michael Shuler <mi...@pbandjelly.org> wrote:
>>
>>> On 10/19/2014 06:23 PM, Tim Dunphy wrote:
>>>
>>>> I've upgraded to Cassandra 2.1.0.
>>>>
>>>
>>> Via what method, tar or deb, and from what version to 2.1.0?
>>>
>>> This is what I bet when I run the cqslh command:
>>>>
>>>> Can't locate transport factory function
>>>> cqlshlib.tfactory.regular_transport_factory
>>>>
>>>
>>> cqlshlib.tfactory is thrift. cqlsh in 2.1.0 does not use thrift. I
>>> imagine your $PATH is finding an old version of cqlsh or the old cql jar is
>>> in your classpath or something along those lines.
>>>
>>> --
>>> Kind regards,
>>> Michael
>>>
>>
>>
>>
>> --
>>
>> Ben Bromhead
>>
>> Instaclustr | www.instaclustr.com | @instaclustr
>> <http://twitter.com/instaclustr> | +61 415 936 359
>>
>
>
>
> --
> GPG me!!
>
> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
>
>
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
Re: cqsl doesn't work cassandra 2.1.0
Posted by Tim Dunphy <bl...@gmail.com>.
Hi Ben,
Nope, I don't seem to have an rc file for cassandra.
[root@beta-new:~] #ls -l ~/.cassandra/cqlshrc
ls: cannot access /root/.cassandra/cqlshrc: No such file or directory
If I do a find from root, I do see that there are some cqlshrc.sampl files.
But I don't seem to have one that's active.
Any other thoughts ?
Thanks!
Tim
On Mon, Oct 20, 2014 at 10:47 PM, Ben Bromhead <be...@instaclustr.com> wrote:
> check if you have an existing ~/.cassandra/cqlshrc file
>
> On 21 October 2014 12:48, Michael Shuler <mi...@pbandjelly.org> wrote:
>
>> On 10/19/2014 06:23 PM, Tim Dunphy wrote:
>>
>>> I've upgraded to Cassandra 2.1.0.
>>>
>>
>> Via what method, tar or deb, and from what version to 2.1.0?
>>
>> This is what I bet when I run the cqslh command:
>>>
>>> Can't locate transport factory function
>>> cqlshlib.tfactory.regular_transport_factory
>>>
>>
>> cqlshlib.tfactory is thrift. cqlsh in 2.1.0 does not use thrift. I
>> imagine your $PATH is finding an old version of cqlsh or the old cql jar is
>> in your classpath or something along those lines.
>>
>> --
>> Kind regards,
>> Michael
>>
>
>
>
> --
>
> Ben Bromhead
>
> Instaclustr | www.instaclustr.com | @instaclustr
> <http://twitter.com/instaclustr> | +61 415 936 359
>
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
Re: cqsl doesn't work cassandra 2.1.0
Posted by Ben Bromhead <be...@instaclustr.com>.
check if you have an existing ~/.cassandra/cqlshrc file
On 21 October 2014 12:48, Michael Shuler <mi...@pbandjelly.org> wrote:
> On 10/19/2014 06:23 PM, Tim Dunphy wrote:
>
>> I've upgraded to Cassandra 2.1.0.
>>
>
> Via what method, tar or deb, and from what version to 2.1.0?
>
> This is what I bet when I run the cqslh command:
>>
>> Can't locate transport factory function
>> cqlshlib.tfactory.regular_transport_factory
>>
>
> cqlshlib.tfactory is thrift. cqlsh in 2.1.0 does not use thrift. I imagine
> your $PATH is finding an old version of cqlsh or the old cql jar is in your
> classpath or something along those lines.
>
> --
> Kind regards,
> Michael
>
--
Ben Bromhead
Instaclustr | www.instaclustr.com | @instaclustr
<http://twitter.com/instaclustr> | +61 415 936 359
Re: cqsl doesn't work cassandra 2.1.0
Posted by Michael Shuler <mi...@pbandjelly.org>.
On 10/19/2014 06:23 PM, Tim Dunphy wrote:
> I've upgraded to Cassandra 2.1.0.
Via what method, tar or deb, and from what version to 2.1.0?
> This is what I bet when I run the cqslh command:
>
> Can't locate transport factory function
> cqlshlib.tfactory.regular_transport_factory
cqlshlib.tfactory is thrift. cqlsh in 2.1.0 does not use thrift. I
imagine your $PATH is finding an old version of cqlsh or the old cql jar
is in your classpath or something along those lines.
--
Kind regards,
Michael