You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Dave Brondsema <db...@geek.net> on 2010/11/29 15:54:01 UTC

Re: hive not stable,weird exception

Have you looked in the hiveserver logs?  I've found that Hive doesn't return
very meaningful error messages to the client, and I have to look in hive's
logs to find out what happened.

On Sun, Nov 28, 2010 at 11:11 PM, shangan <sh...@corp.kaixin001.com>wrote:

>  I use hive client through php, it always works quite well, but recently
> it sometimes throw a weird exception :
>
>
> [28-Nov-2010 05:01:04] PHP Fatal error:  Uncaught exception 'HiveServerException' with message 'Query returned non-zero code: 9, cause: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.ExecDriver'
> in /data0/phphiveapi/packages/hive_service/ThriftHive.php:570
>
> I go through the codes of ThriftHive.php, but I don't know why it throws
> HiveServerException ?
>
> hadoop seems to work well, as it didn't deal with it as a failed job, but
> hive can't return the correct result.
>
> 2010-11-29
> ------------------------------
> shangan
>



-- 
Dave Brondsema
Software Engineer
Geeknet

www.geek.net