hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Volodymyr Orlov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6767) Patch for running Hadoop on Windows without Cygwin
Date Tue, 18 May 2010 10:45:47 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868602#action_12868602

Volodymyr Orlov commented on HADOOP-6767:

Thank you Steve for your fast criticism on the merits. I have made some investigations and
I would like to suggest changes that will make the patch more appropriate:
1) I will replace JNA with JNI. Thus, I'll make a code faster and there will be no need in
getting round ASF + LGPL problem. Windows native code will be build only if releasing is done
on Windows or with Wine. Hadoop will try to locate dll in the same way as it does it now for
libhadoop.so and will fall back to Cygwin in case native library is not found
2) I will use Apache Commons Daemon instead of Java Service Wrapper
Also, all changes will be made against SVN_TRUNK, patch will not make changes to current javadocs
and will use spaces instead of tab.
Nevertheless I would like to leave service wrapper configuration files/code and code that
enables Hadoop to run on Windows without Cygwin in the same patch because there is currently
no way to start Hadoop daemons on Windows without Cygwin. In case I will separate it into
two patches, Hadoop users will still need to apply both.
Meanwhile I would like to add a description of a use case which prompted us to write the patch
and a guide on how we are running Hadoop on Windows without Cygwin:

> Patch for running Hadoop on Windows without Cygwin
> --------------------------------------------------
>                 Key: HADOOP-6767
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6767
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build, conf, filecache, fs, io, scripts, security, test, util
>    Affects Versions: 0.20.2
>         Environment: Windows XP, 2003, 7, 2008
>            Reporter: Volodymyr Orlov
>             Fix For: 0.20.2
>         Attachments: Hadoop-0.20.2-patched.zip, HADOOP-6767.patch
> Proposed patch from Codeminders adds a possibility to run Hadoop on Windows without Cygwin.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message