hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <>
Subject [jira] [Commented] (HIVE-3664) Avoid to create a symlink for hive-contrib.jar file in dist\lib folder.
Date Thu, 08 Nov 2012 17:20:12 GMT


Ashutosh Chauhan commented on HIVE-3664:

@Kanna, HIVE-2061 introduced this for backward compatibility reason. Currently, user needs
to *add* this jar in their script. So, if we don't create a symlink user needs to update their
script every time we upgrade a hive version, which is not ideal. I am not sure what problem
you are facing with symlinks on Windows, but if that is not easily solvable one potential
workaround would be to check in build.xml that OS is windows and then not create symlink,
but instead copy hive-contrib-0.9.0 with name hive-contrib.jar. This will avoid backward incompatibility
as well as need to create symlink on Windows. But, before we go down that path perhaps we
should investigate more whats the problem with symlinks on Windows.   
> Avoid to create a symlink for hive-contrib.jar file in dist\lib folder.
> -----------------------------------------------------------------------
>                 Key: HIVE-3664
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>    Affects Versions: 0.10.0, 0.9.1
>            Reporter: Kanna Karanam
>            Assignee: Kanna Karanam
>              Labels: Windows
>             Fix For: 0.10.0, 0.9.1
>         Attachments: HIVE-3664.1.patch.txt
> It forces us to enumerate all the jars except this jar on Windows instead of directly
referencing the “dist\lib\*.jar” folder in the class path.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message