same here ... we have way more than 256 partitions in multiple tables. I am
sure the issue has something to do with an empty string passed to the substr
function. can you validate that the table has no null/empty string for
user_name or try running the query with len(user_name) > 1 (not sure about
I have way more than 256 partitions per table. AFAIK, there is no partition
limit.
>From your stack trace, you have some host name issue somewhere.
From: Time Less [mailto:timelessn...@gmail.com]
Sent: Tuesday, May 03, 2011 6:52 PM
To: user@hive.apache.org
Subject: Maximum Number of Hive Partit
I created a partitioned table, partitioned daily. If I query the earlier
partitions, everything works. The later ones fail with error:
hive> select substr(user_name,1,1),count(*) from u_s_h_b where
dtpartition='2010-10-24' group by substr(user_name,1,1) ;
Total MapReduce jobs = 1
Launching Job 1 o
I'm not aware.
-Original Message-
From: Raghunath, Ranjith [mailto:ranjith.raghuna...@usaa.com]
Sent: Tuesday, May 03, 2011 3:29 PM
To: user@hive.apache.org
Subject: RE: Export data with column names
Thanks for the help on this. The option to set the header worked out great. Is
there a
Thanks for the help on this. The option to set the header worked out great. Is
there a way that I can export data out to the local file system with the header
information?
Thank you,
Ranjith N. Raghunath
-Original Message-
From: Steven Wong [mailto:sw...@netflix.com]
Sent: Tuesday, Ma
I'm getting this error when I try to connect to Hive Server
Fatal error: Uncaught exception 'TException' with message 'TSocket:
Could not read 4 bytes from localhost:1' in
/var/www/html/php/transport/TSocket.php on line 236
TException: TSocket: Could not read 4 bytes from localhost:1 in
/
Hi,
What you want should be possible. Do you have a hiveserver (hive thrift) up
and running? Check out the logs of the hive server
Jasper
2011/5/3 Stuart Scott
> Hi,
>
>
>
> Wonder if anyone can help please?
>
> We have set up Hive and are running SQL queries against this using a JDBC
> client
Loren, can you point me to the jira that describes the problem/symptom in more
detail? If there is no jira yet, can you describe it?
Thanks.
-Original Message-
From: Loren Siebert [mailto:lo...@siebert.org]
Sent: Tuesday, May 03, 2011 11:23 AM
To: user@hive.apache.org
Cc: user@hive.apa
New to Pig UDF so requesting help to resolve the issue
Created a Pig UDF to transform an input tuple and generate an
transformed tuple.
Executed a Store to save the transformed tuple into a file
B = FOREACH A GENERATE PackageName.MyMethod();
STORE B into 'output' USING PigStorage();
My question
Sorry, null pointer exception
On May 3, 2011, at 12:23, "Raghunath, Ranjith"
wrote:
> Thanks Loren. Pardon my ignorance but what is an NPE?
>
> Thank you,
> Ranjith N. Raghunath
>
> -Original Message-
> From: Loren Siebert [mailto:lo...@siebert.org]
> Sent: Tuesday, May 03, 2011 1
Thanks Loren. Pardon my ignorance but what is an NPE?
Thank you,
Ranjith N. Raghunath
-Original Message-
From: Loren Siebert [mailto:lo...@siebert.org]
Sent: Tuesday, May 03, 2011 1:23 PM
To: user@hive.apache.org
Cc: user@hive.apache.org
Subject: Re: Export data with column names
Loo
Nothing specifically about our Hive setup although some of us at Forward have
blogged bits and pieces about Hive + Hadoop and have a few Hadoop/Hive related
libs on our GitHub account: https://github.com/forward.
I've blogged a few bits (http://www.oobaloo.co.uk/) as has one of my colleagues
(h
Thanks Paul. That is really useful information.
- Original Message
From: Matthew Rathbone
To: user@hive.apache.org
Sent: Tue, May 3, 2011 11:18:17 AM
Subject: Re: HIVE Server multiple instances
Hey Paul,
I'd be very interested in reading about your hadoop/hive setup, do you have a
Look out for NPEs if you happen to set this option to true before doing
add/drop table statements.
On May 3, 2011, at 11:10, Steven Wong wrote:
> set hive.cli.print.header=true;
>
>
> -Original Message-
> From: Raghunath, Ranjith [mailto:ranjith.raghuna...@usaa.com]
> Sent: Tuesday,
Hey Paul,
I'd be very interested in reading about your hadoop/hive setup, do you have a
blog post or anything describing this setup, or some of the issues you've have
with hive?
--
Matthew Rathbone
Foursquare | Software Engineer | Server Engineering Team
matt...@foursquare.com | @rathboma | 4s
HiveServer does seem to support multiple connections but I think it still has
thread-safety problems (https://issues.apache.org/jira/browse/HIVE-80).
We've (www.forward.co.uk) certainly had instability problems with the thrift
server in the past and now run 5 or so instances behind the HAProxy
set hive.cli.print.header=true;
-Original Message-
From: Raghunath, Ranjith [mailto:ranjith.raghuna...@usaa.com]
Sent: Tuesday, May 03, 2011 11:03 AM
To: 'user@hive.apache.org'
Subject: Re: Export data with column names
Thanks. Is there something I can do with cli?
Thanks,
Ranjith
Thanks. Is there something I can do with cli?
Thanks,
Ranjith
- Original Message -
From: Matthew Rathbone
To: user@hive.apache.org
Sent: Tue May 03 09:45:58 2011
Subject: Re: Export data with column names
If you use the thrift client you can call connection.getSchema()
--
Matth
Thanks. That really helps and answers my question.
- Original Message
From: Matthew Rathbone
To: user@hive.apache.org
Sent: Tue, May 3, 2011 10:59:37 AM
Subject: Re: HIVE Server multiple instances
Even if it is single threaded it certainly seems to support multiple
connections.
Even if it is single threaded it certainly seems to support multiple
connections.
We run 5 workers all connected at the same time executing a different query
each ( with a different connection per worker).
Hope that helps
Matthew
On Tuesday, May 3, 2011 at 1:40 PM, V.Senthil Kumar wrote:
Tha
Thanks Matthew. The wiki page http://wiki.apache.org/hadoop/Hive/HiveServer
says
its single threaded. I have a queue of queries which gets added dynamically
all
the time. By the time I run 1 query using 1 JDBC connection, the queue gets
added more queries and builds up a backlog. So, I was th
Hi,
Wonder if anyone can help please?
We have set up Hive and are running SQL queries against this using a
JDBC client connection. All working fine.
What we can't seem to do is to get it work using the JobTracker to
distribute the SQL/mapreduce queries.
We have tried Bees Wax and this does
Why would you want to run two? I think it is multithreaded, so you can query it
from two different connections
--
Matthew Rathbone
Foursquare | Software Engineer | Server Engineering Team
matt...@foursquare.com | @rathboma | 4sq
On Monday, May 2, 2011 at 6:41 PM, V.Senthil Kumar wrote:
Hello,
If you use the thrift client you can call connection.getSchema()
--
Matthew Rathbone
Foursquare | Software Engineer | Server Engineering Team
matt...@foursquare.com | @rathboma | 4sq
On Monday, May 2, 2011 at 11:12 PM, Raghunath, Ranjith wrote:
Does anyone know how to export data out with column
24 matches
Mail list logo