[
https://issues.apache.org/jira/browse/HIVE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753430#action_12753430
]
Bill Graham commented on HIVE-795:
----------------------------------
@Raghu: Yes, of course (I thought there was a better way to generate this
class). When running the thriftif ant target I get the following error:
Buildfile: build.xml
thriftif:
[echo] Executing thrift (which needs to be in your path) on
if/hive_service.thrift
BUILD FAILED
/Users/grahamb/ws/hive-svn/hive-trunk/service/build.xml:46: Execute failed:
java.io.IOException: Cannot run program "thrift": error=2, No such file or
directory
Total time: 0 seconds
How do I get thrift in my path? Is there an ant target to download and/or build
the thrift binary? Or do I need to manually download and install thrift from
somewhere?
> Return better error messaging from HiveServer
> ----------------------------------------------
>
> Key: HIVE-795
> URL: https://issues.apache.org/jira/browse/HIVE-795
> Project: Hadoop Hive
> Issue Type: Improvement
> Components: Server Infrastructure
> Reporter: Bill Graham
> Assignee: Bill Graham
> Attachments: HIVE-795.1.patch
>
>
> If an exception is thrown on the Hive server (i.e., when an invalid query is
> passed), the Hive server throws a HiveServerExcpeption to the client with a
> message like "Query returned non-zero code: 10". A more informative
> description of the cause of the error should be returned.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.