hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ning Zhang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1976) Exception should be thrown when invalid jar,file,archive is given to add command
Date Tue, 01 Mar 2011 20:48:36 GMT

    [ https://issues.apache.org/jira/browse/HIVE-1976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001107#comment-13001107
] 

Ning Zhang commented on HIVE-1976:
----------------------------------

This patch changes the behavior of Hive CLI. If a resource is not found, CLI will display
an error message saying it is not found (check out the SessionState.validateFile() function).
With this patch, CLI will exit with an exception. I think the right approach is to let the
HiveServer pass the Session.err back to the client side. This requires changing the HiveServer
from the blocking thrift model to nonblocking model. There should be a JIRA exists for that.


> Exception should be thrown when invalid jar,file,archive is given to add command
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-1976
>                 URL: https://issues.apache.org/jira/browse/HIVE-1976
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.5.0, 0.7.0
>         Environment: Hadoop 0.20.1, Hive0.5.0 and SUSE Linux Enterprise Server 10 SP2
(i586) - Kernel 2.6.16.60-0.21-smp (5).
>            Reporter: Chinna Rao Lalam
>            Assignee: Chinna Rao Lalam
>         Attachments: HIVE-1976.2.patch, HIVE-1976.patch
>
>
> When executed add command with non existing jar it should throw exception through   HiveStatement
> Ex:
> {noformat}
>   add jar /root/invalidpath/testjar.jar
> {noformat}
> Here testjar.jar is not exist so it should throw exception.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message