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=<username>. When running it with !connect it works, but I don't get the same prompt as before to input the password.
Thanks. On Mon, 8 Apr 2019, 22:08 Odon Copon, <odonco...@gmail.com> wrote: > 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, <rajkrrsi...@gmail.com> 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 fix for >> https://issues.apache.org/jira/browse/HIVE-21538 >> :::::::::::::::::::::::::::::::::::::::: >> Raj K Singh >> >> >> On Mon, Apr 8, 2019 at 12:22 PM Odon Copon <odonco...@gmail.com> wrote: >> >>> 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, <will...@gmail.com> wrote: >>> >>>> You can consider use other authentication methods rather than >>>> username/password. >>>> >>>> Sent from my iPhone >>>> >>>> > On Apr 8, 2019, at 14:04, Odon Copon <odonco...@gmail.com> 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 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 suggestions? >>>> > >>>> > Thanks >>>> >>>