You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by Tomas Repik <tr...@redhat.com> on 2017/06/29 14:08:37 UTC

Cassandra did not start listening for CQL clients

Hello,

I've tried to create a minimal config file that is needed to start Cassandra server. Is it even possible?
What is the minimal set of options that need to be set in the cassandra.yaml file in order for Cassandra to run flawlessly.

These are the options I use:
commitlog_sync: periodic
commitlog_sync_period_in_ms: 10000
partitioner: org.apache.cassandra.dht.Murmur3Partitioner
endpoint_snitch: SimpleSnitch
seed_provider:
  - class_name: org.apache.cassandra.locator.SimpleSeedProvider
  parameters:
    - seeds: "127.0.0.1"

I gotta be missing something because the server does not start listening for CQL clients and cqlsh can't be used therefore.

Thanks in advance for your replies.

Tomas

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
For additional commands, e-mail: dev-help@cassandra.apache.org


Re: Cassandra did not start listening for CQL clients

Posted by Tomas Repik <tr...@redhat.com>.
Done.

https://issues.apache.org/jira/browse/CASSANDRA-13656

----- Original Message -----
> Open a jira for it and lets change it?
> 
> 
> --
> Jeff Jirsa
> 
> 
> > On Jun 29, 2017, at 8:04 AM, Mike Adamson <ma...@datastax.com> wrote:
> > 
> > I've honestly no idea but it is still defaulting to false in Config.java.
> > I'm assuming it will change to defaulting to true when thrift is finally
> > removed.
> > 
> >> On Thu, 29 Jun 2017 at 15:34 Tomas Repik <tr...@redhat.com> wrote:
> >> 
> >> Thanks Mike,
> >> 
> >> now I remember this option, but I thought it was set to true by default.
> >> Any reasons why false is the default?
> >> 
> >> ----- Original Message -----
> >>> Hi Tomas,
> >>> 
> >>> Try adding:
> >>> 
> >>> start_native_transport: true
> >>> 
> >>> to your config.
> >>> 
> >>> Cheers,
> >>> MikeA
> >>> 
> >> 
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
> >> For additional commands, e-mail: dev-help@cassandra.apache.org
> >> 
> >> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
> For additional commands, e-mail: dev-help@cassandra.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
For additional commands, e-mail: dev-help@cassandra.apache.org


Re: Cassandra did not start listening for CQL clients

Posted by Jeff Jirsa <jj...@gmail.com>.
Open a jira for it and lets change it?


-- 
Jeff Jirsa


> On Jun 29, 2017, at 8:04 AM, Mike Adamson <ma...@datastax.com> wrote:
> 
> I've honestly no idea but it is still defaulting to false in Config.java.
> I'm assuming it will change to defaulting to true when thrift is finally
> removed.
> 
>> On Thu, 29 Jun 2017 at 15:34 Tomas Repik <tr...@redhat.com> wrote:
>> 
>> Thanks Mike,
>> 
>> now I remember this option, but I thought it was set to true by default.
>> Any reasons why false is the default?
>> 
>> ----- Original Message -----
>>> Hi Tomas,
>>> 
>>> Try adding:
>>> 
>>> start_native_transport: true
>>> 
>>> to your config.
>>> 
>>> Cheers,
>>> MikeA
>>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
>> For additional commands, e-mail: dev-help@cassandra.apache.org
>> 
>> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
For additional commands, e-mail: dev-help@cassandra.apache.org


Re: Cassandra did not start listening for CQL clients

Posted by Mike Adamson <ma...@datastax.com>.
I've honestly no idea but it is still defaulting to false in Config.java.
I'm assuming it will change to defaulting to true when thrift is finally
removed.

On Thu, 29 Jun 2017 at 15:34 Tomas Repik <tr...@redhat.com> wrote:

> Thanks Mike,
>
> now I remember this option, but I thought it was set to true by default.
> Any reasons why false is the default?
>
> ----- Original Message -----
> > Hi Tomas,
> >
> > Try adding:
> >
> > start_native_transport: true
> >
> > to your config.
> >
> > Cheers,
> > MikeA
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
> For additional commands, e-mail: dev-help@cassandra.apache.org
>
>

Re: Cassandra did not start listening for CQL clients

Posted by Tomas Repik <tr...@redhat.com>.
Thanks Mike,

now I remember this option, but I thought it was set to true by default. Any reasons why false is the default?

----- Original Message -----
> Hi Tomas,
> 
> Try adding:
> 
> start_native_transport: true
> 
> to your config.
> 
> Cheers,
> MikeA
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
For additional commands, e-mail: dev-help@cassandra.apache.org


Re: Cassandra did not start listening for CQL clients

Posted by Mike Adamson <ma...@datastax.com>.
Hi Tomas,

Try adding:

start_native_transport: true

to your config.

Cheers,
MikeA

On Thu, 29 Jun 2017 at 15:08 Tomas Repik <tr...@redhat.com> wrote:

> Hello,
>
> I've tried to create a minimal config file that is needed to start
> Cassandra server. Is it even possible?
> What is the minimal set of options that need to be set in the
> cassandra.yaml file in order for Cassandra to run flawlessly.
>
> These are the options I use:
> commitlog_sync: periodic
> commitlog_sync_period_in_ms: 10000
> partitioner: org.apache.cassandra.dht.Murmur3Partitioner
> endpoint_snitch: SimpleSnitch
> seed_provider:
>   - class_name: org.apache.cassandra.locator.SimpleSeedProvider
>   parameters:
>     - seeds: "127.0.0.1"
>
> I gotta be missing something because the server does not start listening
> for CQL clients and cqlsh can't be used therefore.
>
> Thanks in advance for your replies.
>
> Tomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
> For additional commands, e-mail: dev-help@cassandra.apache.org
>
>