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

BELUGA BEHR commented on HIVE-1043:
-----------------------------------

I think the issue is that determining an error condition (missing a file) is 
impossible to do with this feature.

 

For example, if a user does {{add jar *.jar}} then perhaps they expect 5 JAR 
files to be loaded.   If one of the JAR files is inadvertently missing, and 
only 4 JAR files are loaded, there is no way for Hive to know that and report 
the error.  Instead, the user will see a 'class def not found' error buried in 
the logs perhaps and will not know why the job failed.

> "add [archive|file|jar]" CLI command should support globs
> ---------------------------------------------------------
>
>                 Key: HIVE-1043
>                 URL: https://issues.apache.org/jira/browse/HIVE-1043
>             Project: Hive
>          Issue Type: Improvement
>          Components: Clients
>            Reporter: Carl Steinbach
>            Priority: Major
>
> I would like to be able to do the following:
> {noformat}
> hive> add jar /Users/carl/tmp/*.jar;
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to