Re: Beeline and password

2019-04-08 Thread Odon Copon
Using "beeline -u -p" I can make it to prompt and be asked for the password, but it does not connect, seems the authentication it does is not working for me. On the error I see the jdbc string gets appended the "user=. When running it with !connect it works, but I don't get the same prompt as befor

Re: Beeline and password

2019-04-08 Thread Odon Copon
Hi Raj, That doesn't work for me. It doesn't ask for the password, it fails directly without prompting. Thanks On Mon, 8 Apr 2019, 21:05 Raj K Singh, wrote: > if you try beeline -u URL_TO_CONNECT -n hive -p then it should ask you > for password, if you are using hive-3.1 then possibly you need

Re: Beeline and password

2019-04-08 Thread Raj K Singh
if you try beeline -u URL_TO_CONNECT -n hive -p then it should ask you for password, if you are using hive-3.1 then possibly you need fix for https://issues.apache.org/jira/browse/HIVE-21538 Raj K Singh On Mon, Apr 8, 2019 at 12:22 PM Odon Copon wrote: >

Re: Beeline and password

2019-04-08 Thread Odon Copon
Hi, I'm using LDAP at the moment. But, from your answer, seems that using user and password there's no way around to try to hide the password, right? Thanks On Mon, 8 Apr 2019, 19:29 Will Du, wrote: > You can consider use other authentication methods rather than > username/password. > > Sent fr

Re: Beeline and password

2019-04-08 Thread Will Du
You can consider use other authentication methods rather than username/password. Sent from my iPhone > On Apr 8, 2019, at 14:04, Odon Copon wrote: > > Hi, > Is there a way to make Beeline to prompt for the password? > I see that all the options require the password to be visibly inserted in >

Beeline and password

2019-04-08 Thread Odon Copon
Hi, Is there a way to make Beeline to prompt for the password? I see that all the options require the password to be visibly inserted in plain text. The only option seems to store it in a file and the file path instead, but that would also require to store the password in plain text format. Any sug