[ https://issues.apache.org/jira/browse/HIVE-344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709930#action_12709930 ]
Ashish Thusoo commented on HIVE-344: ------------------------------------ I tried this but it does not seem to work with auxilary jars. I get the following error bash-3.2$ hive/bin/hive java.net.URISyntaxException: Illegal character in scheme name at index 4: file;c:/Users/Ashish/dev/hive/hive/auxlib/fbhive_hooks.jar AUX_PARAM has URIs in it so cygpath will probably cause problems there. The cygpath code for AUX_PARAMS needs to go at all the places where aux params are getting created from file names as opposed to at the end. I think that should fix this issue. > Fix the Hive CLI to run on cygwin under windows > ----------------------------------------------- > > Key: HIVE-344 > URL: https://issues.apache.org/jira/browse/HIVE-344 > Project: Hadoop Hive > Issue Type: Bug > Components: Clients > Affects Versions: 0.3.0 > Reporter: Amr Awadallah > Assignee: Amr Awadallah > Fix For: 0.3.1 > > Attachments: HIVE-344.patch > > > Yes, I am guilty as charged, I don't use mac like the rest of you :) > The Hive CLI currently doesn't work with cygwin under windows, this is due to > the dual path model that cygwin employs (there are file paths relative to the > cygwin virtual root, and file paths relative to the windows root) > Since Sun's JDK is installed under the windows environment, if the paths are > not converted to windows format before being passed along then java will be > at a loss to where the files are. The solution is to use the cygpath command > to convert the paths to windows format before passing along to java world. > I have a fix for this already, still doing some further testing (to make sure > it works under both unix and windows environments), then I will submit patch > to this bug (should submit before end of this week). > Cheers, > -- amr -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.