hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rim Moussa (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-344) Fix the Hive CLI to run on cygwin under windows
Date Tue, 20 Apr 2010 13:05:50 GMT

     [ https://issues.apache.org/jira/browse/HIVE-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rim Moussa updated HIVE-344:
----------------------------

    Environment: windows xp
    Component/s:     (was: Clients)

Hi
I've installed hadoop-0.19.2 and hive under cygwin
am trying to follow the tutorial http://wiki.apache.org/hadoop/Hive/GettingStarted#Downloading_and_building
everything is working fine in the tutorial until I tried to execute an sql stmt 
after performing following settings
hive>SET mapred.job.tracker=myhost.mycompany.com:50030;
hive>SET -v ;
then I get "Number of reduce tasks is set to 0 since there's no reduce operator"
first does the patch apply to this error
am a new to linux, how to apply the patch
isn't worth to work with co-linux?
thankx

> 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
>    Affects Versions: 0.3.0
>         Environment: windows xp
>            Reporter: Amr Awadallah
>            Assignee: Amr Awadallah
>             Fix For: 0.4.0
>
>         Attachments: HIVE-344-v2.patch, 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.


Mime
View raw message