[
https://issues.apache.org/jira/browse/MAPREDUCE-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503296#comment-13503296
]
Trevor Robinson commented on MAPREDUCE-3540:
--------------------------------------------
Yes, if you use the Windows {{whoami}}, it has a newline at the end. A
workaround is to put the Cygwin {{bin}} directory before {{Windows\System32}}
in your {{PATH}}, but it's helpful to include that in this fix.
> saveVersion.sh script fails in windows/cygwin (hadoop-yarn-common)
> ------------------------------------------------------------------
>
> Key: MAPREDUCE-3540
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3540
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: build
> Affects Versions: 0.24.0, trunk
> Reporter: Alejandro Abdelnur
> Fix For: 0.24.0
>
> Attachments: MAPREDUCE-3540-121001.patch, MAPREDUCE-3540.Nov12.patch,
> MAPREDUCE-3540.patch
>
>
> {code}
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec
> (generate-version) on project hadoop-yarn-common: Comman
> d execution failed. Cannot run program "scripts\saveVersion.sh" (in directory
> "C:\cygwin\home\tucu\src\hadoop\hadoop-mapreduce-proje
> ct\hadoop-yarn\hadoop-yarn-common"): CreateProcess error=2, The system cannot
> find the file specified -> [Help 1]
> [ERROR]
> {code}
--
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