Re: Composite blob key mapping in hive

2013-07-29 Thread kulkarni . swarnim
Hi, Please refer to the workaround posted on HIVE-2599 and let me know if that works for you. On Jul 29, 2013, at 6:22 AM, "G.S.Vijay Raajaa" wrote: > Hi, > > I would like to know if it is possible to map a composite key stored as > blob in HBase to Hive?? > > Regards, > Vijay Raajaa

Re: hive to hbase mapping

2013-06-14 Thread kulkarni . swarnim
Since your jobs are at 0%, it might actually be a problem with your hadoop cluster rather than hive. Couple of things to check would be: 1. Does a simple M/R job complete successfully? 2. Do logs for the jobs say something? Are the jobs in running state or pending state? 3. It is possible that j

Re: Hive and Hbase integration issue

2013-01-31 Thread kulkarni . swarnim
If you go to /tmp//hive.log you would get a detailed explanation on what might be wrong. Can you provide that? From here atleast, it seems like a classpath issue of hive not being able to find the hbase handler jar which can be solved by 'add jar hive-hbase-handler-xxx.jar'. On Jan 31, 2013, a

Re: Hive query failing

2012-09-25 Thread kulkarni . swarnim
The jar is being looked on HDFS as the exception suggests. Run the following commands: $ hadoop fs -mkdir /usr/lib/hive/lib $ hadoop fs -put $HIVE_HOME/lib/hive-builtins-0.8.1-cdh4.0.1.jar /usr/lib/hive/lib Your queries should work now. On Sep 25, 2012, at 6:46 AM, Manish.Bhoge wrote: > Sara

Re: Structs in Hive

2012-07-23 Thread kulkarni . swarnim
Cool. Thanks :) Also was just curious what do people generally use to write struct data in hive tables? I see that there is a STRUCT function defined that takes parameters and creates structs off them. Can we use a custom class as well? Thanks again. Sent from my iPhone On Jul 23, 2012, at 12

Re: FileNotFoundException

2012-06-03 Thread kulkarni . swarnim
Did you setup the /usr/hive/warehouse directory in hdfs and do a chmod g+w on it? That would be required before you run any queries. On Jun 3, 2012, at 1:53 AM, Павел Мезенцев wrote: > Hello all! > > I tried to create simple table in hive > > create table test (a string); > > But its failed: