hadoop-common-issues 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-11456) Correction to BUILDING.txt:Building for Windows - Make & Perl
Date Mon, 05 Jan 2015 11:56:35 GMT

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

Steve Loughran commented on HADOOP-11456:

We should also state that the cygwin versions work too. Looking at my [[slider notes for windows


1. Follow the Hadoop `BUILDING.TXT` instructions. 
1. install cygwin64 with its `sh` command.
1. Get the cygwin64 bin dir on the PATH (remember, ";" as separators)
1. find where the `CL` C/C++ compiler is and make sure it is on the PATH
1. get the (native) [CMake 2.8+](http://www.cmake.org/) command on the path, 
not any cygwin one.

Things to install in cygwin
* `sh`
* `ls`
* `rm`
* `cp`
* `gzip`
* `tar`
* `awk`
* `grep`
* `xargs`

## Avoid

* having cygwin `cmake` on your path; it must be the native cmake

### env variables

    PATH = cmake bin, cygwin bin, python bin, hadoop_home bin (see below)

    c:\java\jdk7\bin;C:\Program Files\Microsoft Windows Performance Toolkit\;
    C:\Program Files (x86)\MSBuild\12.0\Bin;
    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin;

### Commands to test CLI setup

    cmake --version
    openssl version
    python --version
    git --version
    tar --version

    java -version
    mvn --version

    msbuild /version
    cl /help

and for hadoop, once installed

    winutils sysinfo
    hadoop version
    hadoop checknative 

Most of these instructions could be moved over to the BUILDING.TXT doc....

> Correction to BUILDING.txt:Building for Windows - Make & Perl
> -------------------------------------------------------------
>                 Key: HADOOP-11456
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11456
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 2.6.0, 2.5.2
>            Reporter: Rick Kellogg
>         Attachments: HADOOP-COMMON-11456-1.patch
> Both Perl and Make are required tools for building on Windows as well.
> Make is referenced in the hadoop-hdfs-project\hadoop-hdfs pom.xml (among others).
> Perl is referenced in the hadoop-project-dist pom.xml file for processing the changes

This message was sent by Atlassian JIRA

View raw message