[
https://issues.apache.org/jira/browse/HIVE-9664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14317574#comment-14317574
]
Anant Nag commented on HIVE-9664:
---------------------------------
Using the above syntax will make parsing much simpler with the help of URI.
syntax: *ivy://org:module:version?e=exclusion_list*
URI can easily parse the syntax.
Ex:
{code:java}
URI uri = new URI("gradle://group:module:version?exclude=group:module1");
System.out.println("uri.getScheme()); // prints gradle
System.out.println("uri.getAuthority()); // prints group:module:version
System.out.println("uri.getQuery()); // prints exclude=group:module1
{code}
> Hive "add jar" command should be able to download and add jars from a
> repository
> --------------------------------------------------------------------------------
>
> Key: HIVE-9664
> URL: https://issues.apache.org/jira/browse/HIVE-9664
> Project: Hive
> Issue Type: Improvement
> Reporter: Anant Nag
> Labels: hive
>
> Currently Hive's "add jar" command takes a local path to the dependency jar.
> This clutters the local file-system as users may forget to remove this jar
> later
> It would be nice if Hive supported a Gradle like notation to download the jar
> from a repository.
> Example: add jar org:module:version
>
> It should also be backward compatible and should take jar from the local
> file-system as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)