hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4491) Parallel testing HDFS
Date Thu, 21 Feb 2013 20:58:12 GMT

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

Chris Nauroth commented on HDFS-4491:

I'm still working out the best way to share full build instructions for Windows.  (Maybe some
combination of wiki page + a Windows section in BUILDING.txt?)

Meanwhile, I'll paste some additional notes right here about the gotchas that I expect are
most relevant to what you need right now.  The error that you're currently experiencing makes
me think that you need to set the Platform environment variable to x64 (assuming that you're
running a 64-bit Windows VM).

Hope this helps,

# Make sure your initial directory is very short or else you will end up with some files missing
in the code because the file path length is too long. Eg. Setup Hadoop in c:\hdp\
# Make sure Windows platform SDKs/compilers are in the path.  Visual Studio Professional works,
but make sure it's Visual Studio 2010.  The build won't work with Visual Studio 2012.  Do
not use Visual Studio Express.  It does not support compiling for 64-bit, which is problematic
if you're running a 64-bit VM.  If you don't have Visual Studio or don't have a license, then
you can also download the SDK for free here:  http://www.microsoft.com/en-us/download/details.aspx?id=8279.
 Then, run your builds from a Windows SDK Command Prompt.  (Start, All Programs, Microsoft
Windows SDK v7.1, Windows SDK 7.1 Command Prompt.)
# Create new system environment variable VCTargetsPath = C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\.
You may have to add the following to the system PATH - C:\Windows\Microsoft.NET\Framework64\vXYZ.
# Due to a bug in the build, you may need to set an additional environment variable, Platform=x64
or Platform=Win32, depending on whether you're running a 32-bit or 64-bit VM.
# If you are using the VirtualBox Shared Folders feature to share a copy of the codebase between
your host and the Windows VM, do NOT attempt a Windows build from that shared folder.  VirtualBox
presents the volume as a file system that does not support Windows symbolic links, and this
causes tests to fail.

> Parallel testing HDFS
> ---------------------
>                 Key: HDFS-4491
>                 URL: https://issues.apache.org/jira/browse/HDFS-4491
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: test
>    Affects Versions: 3.0.0
>            Reporter: Tsuyoshi OZAWA
>            Assignee: Andrey Klochkov
>         Attachments: HDFS-4491--n2.patch, HDFS-4491.patch
> Parallel execution of HDFS tests in multiple forks. See HADOOP-9287 for details.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message