Re: Authenticate cassandra-stress with cqlshrc

2019-01-08 Thread Ben Slater
Yep, cassandra-stress doesn’t attempt to use the cqlshrc file. Seems to me
it could be convenient so might make a nice contribution to the project.

Cheers
Ben

---


*Ben Slater*
*Chief Product Officer*


   


Read our latest technical blog posts here
.

This email has been sent on behalf of Instaclustr Pty. Limited (Australia)
and Instaclustr Inc (USA).

This email and any attachments may contain confidential and legally
privileged information.  If you are not the intended recipient, do not copy
or disclose its content, but please reply to this email immediately and
highlight the error to the sender and then immediately delete the message.


On Wed, 9 Jan 2019 at 11:01, Arvinder Dhillon  wrote:

> Yes, my cluster is set up to authenticate using
> PasswordAuthentication(host, user and password are stored in cqlshrc).
> When I try to run Cassandra-stress without providing user & password on
> command line, it through authentication error. I expect Cassandra-stress to
> read cqlshrc file and authenticate.
> However, if I provide user, password on command line, it works perfectly.
> Thanks
>
> -Arvinder
>
> On Tue, Jan 8, 2019, 1:35 PM Ben Slater 
>> Is your cluster set up to require authentication? I’m a bit unclear about
>> whether you’re trying to connect without passing a user name and password
>> at all (which should just work as the default) or if you’re looking for
>> some mechanism other than the command line to pass the user name / password
>> (in which case I don’t think there is one but stress has a hell of a lot of
>> options so I could be wrong).
>>
>> Cheers
>> Ben
>>
>> ---
>>
>>
>> *Ben Slater*
>> *Chief Product Officer*
>>
>>
>> 
>> 
>> 
>>
>> Read our latest technical blog posts here
>> .
>>
>> This email has been sent on behalf of Instaclustr Pty. Limited
>> (Australia) and Instaclustr Inc (USA).
>>
>> This email and any attachments may contain confidential and legally
>> privileged information.  If you are not the intended recipient, do not copy
>> or disclose its content, but please reply to this email immediately and
>> highlight the error to the sender and then immediately delete the message.
>>
>>
>> On Wed, 9 Jan 2019 at 06:01, Arvinder Dhillon 
>> wrote:
>>
>>> I'm trying to connect cassandra-stress 3.11.0 without providing user and
>>> password option on the comman line. It doesn't seems to be using cqlshrc.
>>> Any suggestions please?
>>>
>>> -Arvinder
>>>
>>


Re: Authenticate cassandra-stress with cqlshrc

2019-01-08 Thread Arvinder Dhillon
Yes, my cluster is set up to authenticate using
PasswordAuthentication(host, user and password are stored in cqlshrc).
When I try to run Cassandra-stress without providing user & password on
command line, it through authentication error. I expect Cassandra-stress to
read cqlshrc file and authenticate.
However, if I provide user, password on command line, it works perfectly.
Thanks

-Arvinder

On Tue, Jan 8, 2019, 1:35 PM Ben Slater  Is your cluster set up to require authentication? I’m a bit unclear about
> whether you’re trying to connect without passing a user name and password
> at all (which should just work as the default) or if you’re looking for
> some mechanism other than the command line to pass the user name / password
> (in which case I don’t think there is one but stress has a hell of a lot of
> options so I could be wrong).
>
> Cheers
> Ben
>
> ---
>
>
> *Ben Slater*
> *Chief Product Officer*
>
>
>    
>
>
> Read our latest technical blog posts here
> .
>
> This email has been sent on behalf of Instaclustr Pty. Limited (Australia)
> and Instaclustr Inc (USA).
>
> This email and any attachments may contain confidential and legally
> privileged information.  If you are not the intended recipient, do not copy
> or disclose its content, but please reply to this email immediately and
> highlight the error to the sender and then immediately delete the message.
>
>
> On Wed, 9 Jan 2019 at 06:01, Arvinder Dhillon 
> wrote:
>
>> I'm trying to connect cassandra-stress 3.11.0 without providing user and
>> password option on the comman line. It doesn't seems to be using cqlshrc.
>> Any suggestions please?
>>
>> -Arvinder
>>
>


Re: Authenticate cassandra-stress with cqlshrc

2019-01-08 Thread Ben Slater
Is your cluster set up to require authentication? I’m a bit unclear about
whether you’re trying to connect without passing a user name and password
at all (which should just work as the default) or if you’re looking for
some mechanism other than the command line to pass the user name / password
(in which case I don’t think there is one but stress has a hell of a lot of
options so I could be wrong).

Cheers
Ben

---


*Ben Slater*
*Chief Product Officer*


   


Read our latest technical blog posts here
.

This email has been sent on behalf of Instaclustr Pty. Limited (Australia)
and Instaclustr Inc (USA).

This email and any attachments may contain confidential and legally
privileged information.  If you are not the intended recipient, do not copy
or disclose its content, but please reply to this email immediately and
highlight the error to the sender and then immediately delete the message.


On Wed, 9 Jan 2019 at 06:01, Arvinder Dhillon  wrote:

> I'm trying to connect cassandra-stress 3.11.0 without providing user and
> password option on the comman line. It doesn't seems to be using cqlshrc.
> Any suggestions please?
>
> -Arvinder
>


Authenticate cassandra-stress with cqlshrc

2019-01-08 Thread Arvinder Dhillon
I'm trying to connect cassandra-stress 3.11.0 without providing user and
password option on the comman line. It doesn't seems to be using cqlshrc.
Any suggestions please?

-Arvinder