hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3839) hadoop should handle no cygwin on windows more gracefully
Date Mon, 28 Jul 2008 22:34:33 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-3839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617600#action_12617600
] 

Steve Loughran commented on HADOOP-3839:
----------------------------------------

I've seen the other places where cygwin is used (e.g file permission checks), and it does
make sense -at least for the servers. I'm not so convinced it needs to  be mandatory client
side.  

A check fror cygwin would be good...one option is just to handle that failure we see in the
stack trace, and encode the knowledge that if whoami fails with error code=2 on windows, somebody
probably hasn't got cygwin installed, or its path set up correctly. 

> hadoop should handle no cygwin on windows more gracefully
> ---------------------------------------------------------
>
>                 Key: HADOOP-3839
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3839
>             Project: Hadoop Core
>          Issue Type: Improvement
>         Environment: Windows XP, cygwin not installed
>            Reporter: Steve Loughran
>            Priority: Minor
>
> There have been a couple of postings to hadoop core-user in which people can't get hdfs
to come up on windows because whoami isnt on the path, which fails with an IOException error
code 2. 
> To people not experienced in DOS error codes, this is a fairly meanless number which
invariably leads to time wasted and support emails.
> 1. the error could be caught and handled by printing some better hints (point to a wiki
page?)
> 2. is whoami really needed on DOS-based filesystems?

-- 
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