You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Bill Graham (JIRA)" <ji...@apache.org> on 2009/08/25 20:38:04 UTC
[jira] Created: (HIVE-795) Return better error messaging from
HiveServer
Return better error messaging from HiveServer
----------------------------------------------
Key: HIVE-795
URL: https://issues.apache.org/jira/browse/HIVE-795
Project: Hadoop Hive
Issue Type: Improvement
Reporter: Bill Graham
Assignee: Bill Graham
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.
[jira] Updated: (HIVE-795) Return better error messaging from
HiveServer
Posted by "Bill Graham (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bill Graham updated HIVE-795:
-----------------------------
Release Note:
Improved error messaging returned by the Hive Server and surfaced by the JDBC client.
Support for SQL-99 SQLStates
Status: Patch Available (was: Open)
> 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.
[jira] Updated: (HIVE-795) Return better error messaging from
HiveServer
Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Namit Jain updated HIVE-795:
----------------------------
Attachment: hive.795.3.patch
attached the new patch: the only difference is in the generated files
> 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, HIVE-795.2.patch, hive.795.3.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.
[jira] Commented: (HIVE-795) Return better error messaging from
HiveServer
Posted by "Bill Graham (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754020#action_12754020 ]
Bill Graham commented on HIVE-795:
----------------------------------
I was able to manually install thrift. For anyone who's curious, here's what it took on Mac OS 10.6 (Snow Leopard):
# Install XCode (http://developer.apple.com/TOOLS/Xcode/)
# Install MacPorts (http://www.macports.org/)
# Install boost: {{sudo port install boost}}
# Checkout thrift, or download a nightly snapshot, I did the latter (http://incubator.apache.org/thrift/download/):
# Build and install thrift:
{code}
cd thrift; sh bootstrap.sh
./configure
sudo make install
{code}
The configure script failed in an {{if}} block that checked on {{$with_csharp}}, so I had to comment out a few lines to work around that.
Now I could run the ant target and generate the php, py and java-beans, but could no longer run {{cd service && ant jar}}. There were two issues:
# A new dependency was added on {{org.slf4j}} in the generated java files, which wasn't resolved. I downloaded (http://www.slf4j.org/dist/slf4j-1.5.8.tar.gz) and added {{slf4j-api-1.5.8.jar}} to {{lib/}} and got past that issue.
# All of the generated java-bean classed failed with unresolved dependencies on {{TBaseHelper}}. This seems to be a class that is now in thrift svn, but not in the woefully un-versioned {{lib/libthrift.jar}}. i replaced {{lib/libthrift.jar}} with my built version and I can now compile the services classes.
I'll submit a new patch shortly, but I'm concerned regarding what seems like a lack of versioning of thrift. Is there a thrift version I should be using that corresponds with the jar in {{lib}} (I now see there's a '0.1.x' branch)? Or should we upgrade to some recent version of thrift and add {{slf4j-api-1.5.8.jar}}?
> 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.
[jira] Updated: (HIVE-795) Return better error messaging from
HiveServer
Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Namit Jain updated HIVE-795:
----------------------------
Resolution: Fixed
Fix Version/s: 0.5.0
Hadoop Flags: [Reviewed]
Status: Resolved (was: Patch Available)
Committed. Thanks Bill
> 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
> Fix For: 0.5.0
>
> Attachments: HIVE-795.1.patch, HIVE-795.2.patch, hive.795.3.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.
[jira] Commented: (HIVE-795) Return better error messaging from
HiveServer
Posted by "Edward Capriolo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753157#action_12753157 ]
Edward Capriolo commented on HIVE-795:
--------------------------------------
I think this is good. Often times when returning an int status a composite object with status message is better. Someone recently issued a similar request for HWI on hive-user. So I look forward to this one.
> 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.
[jira] Commented: (HIVE-795) Return better error messaging from
HiveServer
Posted by "Bill Graham (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758441#action_12758441 ]
Bill Graham commented on HIVE-795:
----------------------------------
Thanks Namit. Re these files, yes I generated them using 'ant thriftif':
gen-py/hive_service/ttypes.py
gen-php/hive_service_types.php
Taking another look at HIVE-795.2.patch though I see that the files that thrift generated each contained a second definition of HiveServerException with the new attributes, instead generating a single HiveServerException with the the old and new attributes. I'll keep an eye out for this in the future.
FYI, here's the version of thrift that I used:
$ thrift -version
Thrift version 20080411-r790732M
> 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
> Fix For: 0.5.0
>
> Attachments: HIVE-795.1.patch, HIVE-795.2.patch, hive.795.3.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.
[jira] Commented: (HIVE-795) Return better error messaging from
HiveServer
Posted by "Bill Graham (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747701#action_12747701 ]
Bill Graham commented on HIVE-795:
----------------------------------
I've got this implemented with better error messaging using the approach described above and the message returned is now better. The {{Driver}} response codes are pretty coarse though (10={{SemanticException}},11={{ParseException}},12={{Unknown}}), so I can't set a very good.ANSI SQL-99 SQLState in {{SQLException}}. We have all this info known on the server though, so we should tackle this as well.
I propose a few more modifications to support valid SQLStates on the client:
- Extend the {{org.apache.hadoop.hive.ql.parse.ErrorMsg}} {{enum}} to include a {{SQLState}} field in addition to the current {{mesg}} string. We'd use the SQLStates defined in section 12.5 of http://www.contrib.andrew.cmu.edu/~shadow/sql/sql1992.txt or possibly borrow some the of the sql state extensions used by MySQL.
- Add a {{SQLState}} field to {{HiveServerException}} in addition to the {{errorCode}} field.
- When {{HiveServer}} builds the {{HiveServerException}}, it will look up the {{SQLCode}} mapped to the exceptions message in the {{ErrorMsg}} enum.
Using {{ErrorMsg}} to couple the message to the sql state isn't the most elegant approach, but it's the best way I can thing of transmitting this info without refactoring all the places where new exceptions are thrown. Thoughts?
> 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
>
> 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.
[jira] Commented: (HIVE-795) Return better error messaging from
HiveServer
Posted by "Bill Graham (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753145#action_12753145 ]
Bill Graham commented on HIVE-795:
----------------------------------
Just checking in on this issue. Any comments re the patch or the approach in general?
> 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.
[jira] Commented: (HIVE-795) Return better error messaging from
HiveServer
Posted by "Bill Graham (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (HIVE-795) Return better error messaging from
HiveServer
Posted by "Bill Graham (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bill Graham updated HIVE-795:
-----------------------------
Attachment: HIVE-795.2.patch
@Raghu: Thanks for your comment on the mailing list re the current thrift version of r790732. I was able to build that version using the THRIFT-214 patch. Then I could also run 'ant thriftif' without the slf4j dependency or the {{libthrift.jar}} conflict.
Attached is a HIVE-795.2.patch, which uses a modified {{service/if/hive_service.thrift}} and {{cd service && ant thriftif}} to generate {{HiveServerException.java}}, as well as other php and py thrift source.
> 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, HIVE-795.2.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.
[jira] Commented: (HIVE-795) Return better error messaging from
HiveServer
Posted by "Bill Graham (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747569#action_12747569 ]
Bill Graham commented on HIVE-795:
----------------------------------
To get better error messages from the Hive server, refactoring of the {{Driver}} class is needed to propagate the message. I propose the following changes:
- Refactor {{Driver}} with a new method like
{{public DriverResponse runCommand(String command)}}.
It does the same thing as the current
{{public int run(String command)}}
method, but instead returns a composite object which contains a {{responseCode}} and {{errorMessage}}. This method would be the favored one to use going forward, {{run}} is just kept for backward compatibility and possibly deprecated.
- Refactor {{HiveServer.execute(cmd)}} to use {{Driver.runCommand(cmd)}}. It will throw a {{HiveServerException}} with {{responseCode}} and {{errorMessage}} info.
- Add a {{responseCode}} field to {{HiveServerException}}. {{HiveServer.execute(cmd)}} will set the {{message}} and {{responseCode}} fields when throwing a new {{HiveServerException}}, instead of a string message containing the response code.
- The JDBC client can catch {{HiveServerException}} in {{HiveStatement.executQuery(sql)}} and create a meaningful {{SQLException}}.
> Return better error messaging from HiveServer
> ----------------------------------------------
>
> Key: HIVE-795
> URL: https://issues.apache.org/jira/browse/HIVE-795
> Project: Hadoop Hive
> Issue Type: Improvement
> Reporter: Bill Graham
> Assignee: Bill Graham
>
> 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.
[jira] Commented: (HIVE-795) Return better error messaging from
HiveServer
Posted by "Bill Graham (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758306#action_12758306 ]
Bill Graham commented on HIVE-795:
----------------------------------
Just checking in on this issue again. Any additional comments re the second patch, or can this be committed?
> 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, HIVE-795.2.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.
[jira] Commented: (HIVE-795) Return better error messaging from
HiveServer
Posted by "Raghotham Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753159#action_12753159 ]
Raghotham Murthy commented on HIVE-795:
---------------------------------------
I havent looked at the diff completely. But, instead of modifying service/src/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java, can you change service/if/hive_service.thrift and regenerate the file by running "cd service && ant thriftif"?
> 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.
[jira] Commented: (HIVE-795) Return better error messaging from
HiveServer
Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758326#action_12758326 ]
Namit Jain commented on HIVE-795:
---------------------------------
Did you generate
gen-py/hive_service/ttypes.py
gen-php/hive_service_types.php
using ant thriftif ?
When I generate them, I get different results ?
> 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, HIVE-795.2.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.
[jira] Updated: (HIVE-795) Return better error messaging from
HiveServer
Posted by "Bill Graham (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bill Graham updated HIVE-795:
-----------------------------
Attachment: HIVE-795.1.patch
Attaching HIVE-795.1.patch, which included the changes discussed above. A few things to note:
- Error messages and SQLStates are now included in {{HiveServerException}}. Please review changes to this class carefully. The existing comment in that class regarding how this file is auto-generated by thrift and not to edit it unless you know what you're doing has me a bit concerned. :)
- Error messages from the {{Driver}} classes compile step are captured and returned to the client, along with corresponding SQLStates. The exception handling of the {{ql.parse}} package made it possible to return informative error messages.
- Errors from the {{Driver}} classes execute step are another story. This code relies on {{Task.executeTask()}}, which swallows exceptions and returns just status codes. Refactoring this to return a composite could be a considerable task, so this should be done as part of a separate JIRA IMO. The server still returns error messages and SQLStates for execution errors though. It's just that the error messages the server has as it's disposal could be improved.
- The {{HiveConnection}} constructor now throws {{SQLException}} instead of {{Exception}}.
> 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.
[jira] Commented: (HIVE-795) Return better error messaging from
HiveServer
Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758309#action_12758309 ]
Namit Jain commented on HIVE-795:
---------------------------------
I will take a look and get back to you
> 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, HIVE-795.2.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.
[jira] Updated: (HIVE-795) Return better error messaging from
HiveServer
Posted by "Raghotham Murthy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raghotham Murthy updated HIVE-795:
----------------------------------
Component/s: Server Infrastructure
+1 to the idea.
> 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
>
> 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.