Re: Hive Metadata tables of a schema

2016-04-05 Thread David Morel
Better use HCatalog for this. David Le 5 avr. 2016 10:14, "Mich Talebzadeh" a écrit : > So you want to interrogate Hive metastore and get information about > objects for a given schema/database in Hive. > > These info are kept in Hive metastore database running on an RDBVMS say > Oracle. There a

Re: Perl-Hive connection

2015-08-06 Thread David Morel
"new" via package "Thrift::API::HiveClient2" > > could you please help me out ? > > Thanks and regards, > siva > > > On Thu, Jul 30, 2015 at 3:20 PM, David Morel wrote: > >> On 29 Jul 2015, at 9:42, siva kumar wrote: >> >> Hi folks,

Re: Hive Data into a Html Page

2015-07-31 Thread David Morel
Hive is not really meant to serve data as fast as a web page needs. You'll have to use some intermediate (could even be a db file, or template toolkit generated static pages). David Le 28 juil. 2015 8:53 AM, "siva kumar" a écrit : > Hi Lohith, > We use http server. Lemme explain

Re: Perl-Hive connection

2015-07-30 Thread David Morel
On 29 Jul 2015, at 9:42, siva kumar wrote: Hi folks, I need to set up a connection between perl and hive using thrift. Can anyone sugggest me the steps involved in making this happen?. Thanka and regrads, siva. Hi, check out http://search.cpan.org/~dmor/Thrift-API-HiveClient2/l

Re: ODBC Calls Extremely Slow

2014-08-15 Thread David Morel
On 15 Aug 2014, at 22:21, Stephen Sprague wrote: what container are you using for your metastore? Derby, mysql or postgres? for a large set of tables don't use Derby. So you've confirmed its the ODBC driver and not the metastore itself? I had the same sort of issue, related to the fact previ

Re: Hive query taking a lot of time just to launch map-reduce jobs

2013-11-26 Thread David Morel
altogether) and there might be a bug and/or something to optimize; the error you're seeing is maybe the key to the issue but then it is for more knowledgeable people than me to commment on. Sorry (and good luck) David On Mon, Nov 25, 2013 at 5:50 PM, David Morel wrote: On 25 Nov 2013,

Re: Difference in number of row observstions from distinct and group by

2013-11-25 Thread David Morel
On 25 Nov 2013, at 9:06, Mayank Bansal wrote: Hi, I was also thinking that this might be the case. For that reason I ran this query Select * from (select col1,col2,col3,count(*) as val from table_name group by col1,col2,col3)a where a.val>1 ; The output that I receive from this query is bl

Re: java.lang.OutOfMemoryError: Java heap space

2013-11-25 Thread David Morel
On 22 Nov 2013, at 9:35, Rok Kralj wrote: If anybody has any clue what is the cause of this, I'd be happy to hear it. On Nov 21, 2013 9:59 PM, "Rok Kralj" wrote: what does echo $HADOOP_HEAPSIZE return in the environment you're trying to launch hive from? David

Re: Hive query taking a lot of time just to launch map-reduce jobs

2013-11-25 Thread David Morel
On 25 Nov 2013, at 11:50, Sreenath wrote: hi all, We are using hive for Ad-hoc querying and have a hive table which is partitioned on two fields (date,id).Now for each date there are around 1400 ids so on a single day around that many partitions are added.The actual data is residing in s3. n

Re: HiveServer2

2013-11-19 Thread David Morel
On 18 Nov 2013, at 21:59, Stephen Sprague wrote: > A word of warning for users of HiveServer2 - version 0.11 at least. This > puppy has the ability crash and/or hang your server with a memory leak. > > Apparently its not new since googling shows this discussed before and i see > reference to a wor

Re: Seeking Help configuring log4j for sqoop import into hive

2013-11-11 Thread David Morel
On 12 Nov 2013, at 0:01, Sunita Arvind wrote: Just in case this acts as a workaround for someone: The issue is resolved if I eliminate the "where" clause in the query (just keep "where $CONDITIONS"). So 2 workarounds I can think of now are: 1. Create views in Oracle and query without the where

Re: Partition performance

2013-07-03 Thread David Morel
On 2 Jul 2013, at 16:51, Owen O'Malley wrote: > On Tue, Jul 2, 2013 at 2:34 AM, Peter Marron < > peter.mar...@trilliumsoftware.com> wrote: > >> Hi Owen, >> >> ** ** >> >> I’m curious about this advice about partitioning. Is there some >> fundamental reason why Hive >> >> is slow when the n

Re: How to connect to HiveServer 2? (Only through JDBC?)

2013-06-27 Thread David Morel
(and the cli_service.thrift file provided with hive). An example of this for perl is now available here: https://metacpan.org/source/DMOR/Thrift-API-HiveClient2-0.004 https://github.com/dmorel/Thrift-API-HiveClient2/ David Morel

Re: Avro Backed Hive tables

2013-03-12 Thread David Morel
On 7 Mar 2013, at 2:43, Murtaza Doctor wrote: Folks, Wanted to get some help or feedback from the community on this one: Hello, in that case it is advisable to start a new thread, and not 'reply-to' when you compose your email :-) Have a nice day David

Re: Cartesian product detection in the query plan?

2013-01-28 Thread David Morel
On 28 Jan 2013, at 17:58, Edward Capriolo wrote: Currently order by is very inefficient in hive. Hopefully you can use sort by in most cases. Makes complete sense, I should have thought of it sooner. Thanks a lot! It should be "visible" in the plan. The plan should be very different if you a

Re: Cartesian product detection in the query plan?

2013-01-28 Thread David Morel
l the ORDER BY ones :-) but I hoped it was visible right there in the query plan, or in some other way. If Hive can detect it, it should be visible somewhere, right? Thanks! david On Monday, January 28, 2013, David Morel wrote: Hi everyone, I had to kill some queries that were taking fore

Cartesian product detection in the query plan?

2013-01-28 Thread David Morel
der if the query plan (if I could read it) would have given me that information. Thanks a lot David Morel

Re: Whatever happened to the MACRO facility, Hive-2655

2013-01-26 Thread David Morel
On 26 Jan 2013, at 14:59, Dean Wampler wrote: We mentioned it in our book and now I realize it's not actually implemented, even in 0.10.0. OOPS!! https://issues.apache.org/jira/browse/HIVE-2655 dean That's funny I was just about to post the same message :-) Came across it in the book on fri

Re: Real-life experience of forcing smaller input splits?

2013-01-25 Thread David Morel
e heavily compressed files then you may want to do check what will be size after uncompression and allocate more memory to maps On Fri, Jan 25, 2013 at 11:46 AM, David Morel wrote: Hello, I have seen many posts on various sites and MLs, but didn't find a firm answer anywhere: is it po

Re: Real-life experience of forcing smaller input splits?

2013-01-25 Thread David Morel
On 25 Jan 2013, at 10:37, Bertrand Dechoux wrote: > It seems to me the question has not been answered : > "is it possible yes or no to force a smaller split size > than a block on the mappers" > > Not that I know (but you could implement something to do it) but why would > you do it? > By default

Re: An explanation of LEFT OUTER JOIN and NULL values

2013-01-24 Thread David Morel
wns, but I mean, yuk! It's the best I could come up with so far, so if I could fully understand the root cause of the problem, that would be much better. I guess I'll dig in a bit deeper then. Thanks a lot! David > > Regards > Bejoy KS > > Sent from remote device, Pleas

Real-life experience of forcing smaller input splits?

2013-01-24 Thread David Morel
Hello, I have seen many posts on various sites and MLs, but didn't find a firm answer anywhere: is it possible yes or no to force a smaller split size than a block on the mappers, from the client side? I'm not after pointers to the docs (unless you're very very sure :-) but after real-life experie

Re: An explanation of LEFT OUTER JOIN and NULL values

2013-01-24 Thread David Morel
Regards > Bejoy KS > > Sent from remote device, Please excuse typos > > -Original Message- > From: "David Morel" > Date: Thu, 24 Jan 2013 18:03:40 > To: user@hive.apache.org > Reply-To: user@hive.apache.org > Subject: An explanation of LEFT OUTER JOIN and NULL va

An explanation of LEFT OUTER JOIN and NULL values

2013-01-24 Thread David Morel
Hi! After hitting the "curse of the last reducer" many times on LEFT OUTER JOIN queries, and trying to think about it, I came to the conclusion there's something I am missing regarding how keys are handled in mapred jobs. The problem shows when I have table A containing billions of rows with dist

Re: Thrift Hive client for CDH 4.1 HiveServer2?

2013-01-05 Thread David Morel
https://issues.apache.org/jira/browse/HIVE-2935 > https://cwiki.apache.org/Hive/hiveserver2-thrift-api.html > HiveServer2 now is CDH extension. > > I think you can use find cmd to search the CDH src dir to find the .thrift > files. > > > 2013/1/5 David Morel > >

Re: Thrift Hive client for CDH 4.1 HiveServer2?

2013-01-05 Thread David Morel
0) at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:215) ... 4 more Where should I start looking (meaning I haven't a clue)? Thanks! David 在 2013-1-4 上午7:16,"David Morel" 写道: Hi all (and happy New Year!) Is it possible to build a perl Thrift client f

Thrift Hive client for CDH 4.1 HiveServer2?

2013-01-03 Thread David Morel
Hi all (and happy New Year!) Is it possible to build a perl Thrift client for HiveServer2 (from Cloudera's 4.1.x) ? I'm following the instructions found here: http://stackoverflow.com/questions/5289164/perl-thrift-client-to-hive Downloaded Hive from Cloudera's site, then i'm a bit lost: where do

Re: Skew join failure

2012-12-03 Thread David Morel
ut it... thanks! David Mark On Fri, Nov 30, 2012 at 2:10 AM, David Morel wrote: Hi, I am trying to solve the "last reducer hangs because of GC because of truckloads of data" issue that I have on some queries, by using SET hive.optimize.skewjoin=true; Unfortunately, every time I try this,

Skew join failure

2012-11-30 Thread David Morel
CMF4.0 currently, so Hive 0.8.1. Thanks a lot! David Morel

Looking for a working mysql import sqoop command line

2012-05-12 Thread David Morel
fine in production (preferrably with --direct, since the files I have to put there are quite big) - provide alternative solutions, since maybe I'm going a completely wrong way Thanks a million! David Morel