Re: Hive beeline and ACID tables.

2018-02-15 Thread Colin Williams
gt; other relevant properties) hive-site.xml so that all sessions agree on > which lock manager/txn manager they are using. > > > > Eugene > > > > *From: *Colin Williams > *Reply-To: *"user@hive.apache.org" > *Date: *Thursday, February 15, 2018 at 8:54 AM

Re: Hive beeline and ACID tables.

2018-02-15 Thread Eugene Koifman
properties) hive-site.xml so that all sessions agree on which lock manager/txn manager they are using. Eugene From: Colin Williams Reply-To: "user@hive.apache.org" Date: Thursday, February 15, 2018 at 8:54 AM To: "user@hive.apache.org" Subject: Re: Hive beeline and ACID tab

Re: Hive beeline and ACID tables.

2018-02-15 Thread Colin Williams
Looking back I may have omitted the --hiveconf setting. I will try creating the table again today and see if that was the issue. On Thu, Feb 15, 2018 at 8:51 AM, Colin Williams < colin.williams.seat...@gmail.com> wrote: > Hi Johannes. I did set the "transactional" property to true like: > > tblpr

Re: Hive beeline and ACID tables.

2018-02-15 Thread Colin Williams
Hi Johannes. I did set the "transactional" property to true like: tblproperties("transactional"="true"); And also stored as orc and bucketed and partitioned the table. Finally I did use double -- for setting the hiveconf. Then there must be some other issue regarding using the ACID tables. On

Re: Hive beeline and ACID tables.

2018-02-14 Thread Johannes Alberti
Hi Collin, you need to set the table property “transactional” to true, this will mark the table as ACID. See also the example all the way at the bottom of this link. https://cwiki.apache.org/confluence/display/Hive/Hive+Transactions For your error, the SELECT, maybe it is simply a copy-n-paste

Hive beeline and ACID tables.

2018-02-14 Thread Colin Williams
Hello, I'm new to hive and had been porting some Redshift SQL to Hive. Today I ran across a table that uses update. After a somewhat time consuming translation process I was able to load the create table definition. However the update part returned an error about update not supported on non-acid

Alter Table by Hive Beeline doesn't reflect in Hive CLI and SparkSession

2017-12-21 Thread john.xu
when I start the metastore thrift service and set hive.metastore.uris in hive-site.xml, this problem no longer appears: No matter Hive CLI, Hive Beeline or SparkSession altered a table, others can see the correct new table schema. I have two questions here: 1. According to https

Re: Hive | Beeline access with multiple host port

2015-12-07 Thread Shashi Vishwakarma
Dec 7, 2015 at 3:04 AM, Shashi Vishwakarma < > shashi.vish...@gmail.com> wrote: > >> Hi >> >> down votefavorite >> <http://stackoverflow.com/questions/34131860/hive-beeline-access-with-multiple-host-port#> >> >> Usually connecting HiveServer2 using

Re: Hive | Beeline access with multiple host port

2015-12-07 Thread Takahiko Saito
ackoverflow.com/questions/34131860/hive-beeline-access-with-multiple-host-port#> > > Usually connecting HiveServer2 using beeline we pass hostnaime1 and port > as connection property? > > Can we configure beeline in such a way that if my primary hostname is down > then it should go f

Hive | Beeline access with multiple host port

2015-12-07 Thread Shashi Vishwakarma
Hi down votefavorite <http://stackoverflow.com/questions/34131860/hive-beeline-access-with-multiple-host-port#> Usually connecting HiveServer2 using beeline we pass hostnaime1 and port as connection property? Can we configure beeline in such a way that if my primary hostname is down t

Re: Hive BeeLine

2015-07-06 Thread Trainee Bingo
Hi Noam, The file exist on my machine.. I can do cat,ls,ll etc on it. On Mon, Jul 6, 2015 at 2:31 AM, Noam Hasson wrote: > Just making sure, LOAD DATA LOCAL INPATH loads files from your local file > system, did you make sure the file exist on your machine? > > On Mon, Jul 6, 2015 at 12:15 PM, T

Re: Hive BeeLine

2015-07-06 Thread Noam Hasson
Just making sure, LOAD DATA LOCAL INPATH loads files from your local file system, did you make sure the file exist on your machine? On Mon, Jul 6, 2015 at 12:15 PM, Trainee Bingo wrote: > Hi Users, > > I have Hive and HiveServer2 on the same machine. But, when I try to *LOAD > DATA LOCAL INPATH*

Hive BeeLine

2015-07-06 Thread Trainee Bingo
Hi Users, I have Hive and HiveServer2 on the same machine. But, when I try to *LOAD DATA LOCAL INPATH* using BeeLine I get "Invalid Path Error" and if I do LOAD DATA INPATH it takes it successfully. Can anyone pls tell me why local inpath does not work?? Thanks, Trainee.