[
https://issues.apache.org/jira/browse/HADOOP-12899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15183508#comment-15183508
]
Chris Nauroth commented on HADOOP-12899:
----------------------------------------
On Windows, it can't rely on the bang path or even really a .sh extension.
Before HADOOP-12850, this worked by having exec-maven-plugin invoke bash
directly in the {{executable}} attribute. I did a quick hack change locally to
confirm that switching back to direct invocation of bash would work.
[~aw], I assume you want to retain the behavior of invoking through
/usr/bin/env so that it can look up bash from the user environment, right? Can
you confirm? If we want to keep that, then I think it puts me on the path of
setting up a separate native-win profile for the special case in
hadoop-dist/pom.xml.
> External dist-layout-stitching script does not work correctly on Windows.
> -------------------------------------------------------------------------
>
> Key: HADOOP-12899
> URL: https://issues.apache.org/jira/browse/HADOOP-12899
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Environment: Windows
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Priority: Blocker
>
> In HADOOP-12850, we pulled the dist-layout-stitching script out of
> hadoop-dist/pom.xml and into an external script. It appears this change is
> not working correctly on Windows.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)