[
https://issues.apache.org/jira/browse/YARN-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Nauroth updated YARN-207:
-------------------------------
Attachment: YARN-207-branch-trunk-win.patch
The attached patch ports the sh scripting in the distribution build to Python.
It wasn't possible to use only Maven plugins (like maven-antrun-plugin with a
<tar> task), because they mishandled permissions and symlinks in the built
tarballs.
I tested all of the following build variations:
Windows: mvn -Pnative-win -Pdist -Dtar -DskipTests clean package
Mac: mvn -Pdist -Dtar -DskipTests clean package
Ubuntu: mvn -Pnative -Pdist -Dtar -DskipTests clean package
Ubuntu: mvn -Pnative -Pdist -Dtar -Drequire.snappy -Dbundle.snappy
-Dsnappy.lib=/usr/local/lib -DskipTests clean package
This works on Windows. Additionally, on Mac and Ubuntu, I compared the built
tarballs from before and after my changes. I confirmed that the resulting
tarballs have exactly the same contents, including permissions and symlinks.
> YARN distribution build fails on Windows
> ----------------------------------------
>
> Key: YARN-207
> URL: https://issues.apache.org/jira/browse/YARN-207
> Project: Hadoop YARN
> Issue Type: Bug
> Components: api
> Affects Versions: trunk-win
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Attachments: YARN-207-branch-trunk-win.patch
>
>
> Distribution build relies on sh scripts that do not work on Windows.
--
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