hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Klochkov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4491) Parallel testing HDFS
Date Tue, 19 Feb 2013 22:45:13 GMT

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

Andrey Klochkov commented on HDFS-4491:
---------------------------------------

Chris, thanks a lot for detailed answers, this is very helpful.

With building on Windows I stuck at running mvn with the -Pnative-win profile enabled. It
fails with this:

{code}
[INFO] --- exec-maven-plugin:1.2:exec (compile-ms-winutils) @ hadoop-common ---
Build started 2/19/2013 9:05:17 PM.
Project "C:\cygwin\home\Administrator\yhadoop-common\hadoop-common-project\hadoo
p-common\src\main\winutils\winutils.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Release|Win32".
Project "C:\cygwin\home\Administrator\yhadoop-common\hadoop-common-project\hadoo
p-common\src\main\winutils\winutils.sln" (1) is building "C:\cygwin\home\Adminis
trator\yhadoop-common\hadoop-common-project\hadoop-common\src\main\winutils\winu
tils.vcxproj.metaproj" (2) on node 1 (default targets).
Project "C:\cygwin\home\Administrator\yhadoop-common\hadoop-common-project\hadoo
p-common\src\main\winutils\winutils.vcxproj.metaproj" (2) is building "C:\cygwin
\home\Administrator\yhadoop-common\hadoop-common-project\hadoop-common\src\main\
winutils\libwinutils.vcxproj" (3) on node 1 (default targets).
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\PlatformToolse
ts\Windows7.1SDK\Microsoft.Cpp.Win32.Windows7.1SDK.targets(20,5): error : You ar
e attempting to build a Win32 application from an x64 environment. If using the
Windows 7.1 SDK build environment, type setenv /x86 [C:\cygwin\home\Administrato
r\yhadoop-common\hadoop-common-project\hadoop-common\src\main\winutils\libwinuti
ls.vcxproj]
Done Building Project "C:\cygwin\home\Administrator\yhadoop-common\hadoop-common
-project\hadoop-common\src\main\winutils\libwinutils.vcxproj" (default targets)
-- FAILED.
Done Building Project "C:\cygwin\home\Administrator\yhadoop-common\hadoop-common
-project\hadoop-common\src\main\winutils\winutils.vcxproj.metaproj" (default tar
gets) -- FAILED.
Done Building Project "C:\cygwin\home\Administrator\yhadoop-common\hadoop-common
-project\hadoop-common\src\main\winutils\winutils.sln" (default targets) -- FAIL
ED.

Build FAILED.
{code}

If I do as suggested and execute "setenv /x86", then it fails with the same error but suggesting
to do "setenv /x64" for another part of the build, see below. What  exact sequence of steps
should I follow to build it?

{code}
[INFO] --- exec-maven-plugin:1.2:exec (compile-ms-native-dll) @ hadoop-common --
-
Build started 2/19/2013 10:42:32 PM.
Project "C:\cygwin\home\Administrator\yhadoop-common\hadoop-common-project\hadoo
p-common\src\main\native\native.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Release|Mixed Platforms".
Project "C:\cygwin\home\Administrator\yhadoop-common\hadoop-common-project\hadoo
p-common\src\main\native\native.sln" (1) is building "C:\cygwin\home\Administrat
or\yhadoop-common\hadoop-common-project\hadoop-common\src\main\native\native.vcx
proj" (2) on node 1 (default targets).
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64\PlatformToolsets
\Windows7.1SDK\Microsoft.Cpp.x64.Windows7.1SDK.targets(20,5): error : You are at
tempting to build an AMD64 application from an x86 environment. If using the Win
dows 7.1 SDK, type setenv /x64 [C:\cygwin\home\Administrator\yhadoop-common\hado
op-common-project\hadoop-common\src\main\native\native.vcxproj]
Done Building Project "C:\cygwin\home\Administrator\yhadoop-common\hadoop-common
-project\hadoop-common\src\main\native\native.vcxproj" (default targets) -- FAIL
ED.
Done Building Project "C:\cygwin\home\Administrator\yhadoop-common\hadoop-common
-project\hadoop-common\src\main\native\native.sln" (default targets) -- FAILED.

Build FAILED.
{code}
                
> 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

Mime
View raw message