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

Allen Wittenauer commented on HADOOP-14667:
-------------------------------------------

>From the current test on the ASF Windows boxes, some relevant logs:

https://builds.apache.org/view/H-L/view/Hadoop/job/hadoop-trunk-win/ws/out/patch-mvninstall-root.txt

Conversion:
{code}
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-os) @ hadoop-common 
---
[INFO] 
[INFO] --- exec-maven-plugin:1.3.1:exec (convert-ms-winutils) @ hadoop-common 
---
F:\Microsoft\Visual Studio CE 2015\Common7\IDE\devenv.com
F:\Microsoft\Visual Studio CE 2015\Common7\IDE\devenv.exe

Microsoft Visual Studio 2015 Version 14.0.25420.1.
Copyright (C) Microsoft Corp. All rights reserved.
Upgrading project 'winutils'...
        Configuration 'Debug|Win32': changing Platform Toolset to 'v140' (was 
'v100').
        Configuration 'Debug|x64': changing Platform Toolset to 'v140' (was 
'v100').
        Configuration 'Release|Win32': changing Platform Toolset to 'v140' (was 
'v100').
        Configuration 'Release|x64': changing Platform Toolset to 'v140' (was 
'v100').
Upgrading project 'libwinutils'...
        Configuration 'Debug|Win32': changing Platform Toolset to 'v140' (was 
'v100').
        Configuration 'Debug|x64': changing Platform Toolset to 'v140' (was 
'v100').
        Configuration 'Release|Win32': changing Platform Toolset to 'v140' (was 
'v100').
        Configuration 'Release|x64': changing Platform Toolset to 'v140' (was 
'v100').
F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\src\main\winutils\winutils.vcxproj
 : warning  : The build tools for Visual Studio 2015 (v140) cannot be found. 
Install Visual Studio 2015 (v140) to build using the Visual Studio 2015 (v140) 
build tools.


Migration completed successfully, but some warnings were detected during 
migration.
For more information, see the migration report:
F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\src\main\winutils\UpgradeLog.htm
[INFO] 
[INFO] --- exec-maven-plugin:1.3.1:exec (convert-ms-native-dll) @ hadoop-common 
---
F:\Microsoft\Visual Studio CE 2015\Common7\IDE\devenv.com
F:\Microsoft\Visual Studio CE 2015\Common7\IDE\devenv.exe

Microsoft Visual Studio 2015 Version 14.0.25420.1.
Copyright (C) Microsoft Corp. All rights reserved.
Upgrading project 'native'...
        Configuration 'Release|Win32': changing Platform Toolset to 'v140' (was 
'v100').
        Configuration 'Release|x64': changing Platform Toolset to 'v140' (was 
'v100').

Migration completed successfully, but some warnings were detected during 
migration.
For more information, see the migration report:
F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\src\main\native\UpgradeLog.htm
[INFO] 
[INFO] --- hadoop-maven-plugins:3.1.0-SNAPSHOT:protoc (compile-protoc) @ 
hadoop-common ---
[INFO] Wrote protoc checksums to file 
F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\target\hadoop-maven-plugins-protoc-checksums.json
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ hadoop-common 
---
{code}

Compilation:

{code}
[INFO] --- exec-maven-plugin:1.3.1:exec (compile-ms-winutils) @ hadoop-common 
---
Building the projects in this solution one at a time. To enable parallel build, 
please add the "/m" switch.
Build started 9/2/2017 2:52:27 AM.
Project 
"F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\src\main\winutils\winutils.sln"
 on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Release|X64".
...

Build succeeded.

...

    5 Warning(s)
    0 Error(s)

Time Elapsed 00:00:13.39
{code}

Yetus then does a second (compile) pass.  Which fails. :(

{code}
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hadoop-common ---
[INFO] Deleting 
F:\jenkins\jenkins-slave\workspace\hadoop-trunk-win\s\hadoop-common-project\hadoop-common\target
{code}

I guess something still has a lock on that directory?

> Flexible Visual Studio support
> ------------------------------
>
>                 Key: HADOOP-14667
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14667
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 3.0.0-beta1
>         Environment: Windows
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>         Attachments: HADOOP-14667.00.patch, HADOOP-14667.01.patch, 
> HADOOP-14667.02.patch, HADOOP-14667.03.patch, HADOOP-14667.04.patch, 
> HADOOP-14667.05.patch
>
>
> Is it time to upgrade the Windows native project files to use something more 
> modern than Visual Studio 2010?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to