You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by shangan <sh...@corp.kaixin001.com> on 2010/11/29 05:11:01 UTC

hive not stable,weird exception

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 

Re: hive not stable,weird exception

Posted by Dave Brondsema <db...@geek.net>.
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

Re: Re: hive not stable,weird exception

Posted by shangan <sh...@corp.kaixin001.com>.
I've checked the hiveserver  log but there's no error record about it. Thank you all the same.


2010-12-01 



shangan




发件人: Dave Brondsema 
发送时间: 2010-11-29  22:54:39 
收件人: user 
抄送: 
主题: 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