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

Re: Beeline and password

2019-04-08 Thread Odon Copon
ssword. > > 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 plain text. The o

Re: Beeline and password

2019-04-08 Thread Odon Copon
ossibly 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: > >> Hi, >> I'm using LDAP at the moment. But, from your answer, seems

Re: Beeline and password

2019-04-08 Thread Odon Copon
t the same prompt as before to input the password. Thanks. On Mon, 8 Apr 2019, 22:08 Odon Copon, 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,

Re: Beeline and password

2019-04-09 Thread Odon Copon
What's the difference between using "beeline -u" and beeline and then connect? It doesn't seem to behave equally. On Mon, 8 Apr 2019, 22:49 Odon Copon, wrote: > Using "beeline -u -p" I can make it to prompt and be asked for the > password, but it does not

Re: Beeline and password

2019-04-09 Thread Odon Copon
Ok, I managed to get it working by not specifying driver and user while calling !connect. If I specify the driver or user I don't get the prompt to input the credentials. Thanks. On Tue, 9 Apr 2019, 09:41 Odon Copon, wrote: > What's the difference between using "beeline -u&quo

Hive metastore service

2019-04-16 Thread Odon Copon
Hi, would be possible to add authentication to the Thrift Hive metastore service? like user and password? I cannot find any documentation on how to protect this endpoint. Thanks.

Re: Hive metastore service

2019-04-17 Thread Odon Copon
mage or destruction of data or any other property which may arise > from relying on this email's technical content is explicitly disclaimed. > The author will in no case be liable for any monetary damages arising from > such loss, damage or destruction. > > > > > On T

Re: Hive metastore service

2019-04-17 Thread Odon Copon
ng about this > https://cwiki.apache.org/confluence/display/Hive/AdminManual+Metastore+Administration. > As far as I know the only authentication it supports is Kerberos. > > > > Thanks > > Shawn > > > > *From:* Odon Copon > *Sent:* Wednesday, April 17, 2019 3:16 A

Property url when using beeline

2019-04-26 Thread Odon Copon
Hi, I'm trying to understand the following error the beeline is giving me: Fail to connect with a local driver due to the exception:java.sql.SQLException: Unrecognized connection property 'url'. How does the beeline generate this property? Thanks.

Re: Property url when using beeline

2019-04-26 Thread Odon Copon
y, wrote: > Could you please provide your beeline command > > Regards > Suresh > > On Fri, Apr 26, 2019, 12:30 PM Odon Copon >> Hi, >> I'm trying to understand the following error the beeline is giving me: >> >> Fail to connect with a lo

Re: Property url when using beeline

2019-04-27 Thread Odon Copon
Would it work on a jdbc connection different than Hive? As you can see, I'm trying to connect to Presto over jdbc. Thanks On Fri, 26 Apr 2019, 18:36 Odon Copon, wrote: > Sure, the command is the following: > > beeline> !addlocaldriverjar /Users/odon/jars/presto-jdbc-0.

Validating Hive statements

2020-02-19 Thread Odon Copon
Hi, I was wondering what would be the easiest way to validate a Hive script with multiple query statements offline. I thought it was possible to do that will the following Java code but it doesn't look like is possible for all of them: --- import org.apache.hadoop.hive.ql.parse.ParseDriver; Parse

Re: Validating Hive statements

2020-02-19 Thread Odon Copon
ifferent CLI emulations: > > > https://github.com/klarna/HiveRunner/tree/master/src/main/java/com/klarna/hiverunner/sql/cli > > Elliot. > > On Wed, 19 Feb 2020 at 13:55, Odon Copon wrote: > >> Hi, >> I was wondering what would be the easiest way to validate a Hive script

Re: Validating Hive statements

2020-02-19 Thread Odon Copon
:51, Odon Copon wrote: > Hi Elliot, > Thanks for your quick response. > Are you saying that things like SETs and other stuff is handled by the CLI > and doesn't reach the parser? Is there any example or testing I could check > to see how does this work? > > Thanks. > &