Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
3.4.0
-
Windows 10
Description
The hadoop-common project fails when mvnsite is built while running the shelldocs plugin on Windows 10 -
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.1:exec (shelldocs) on project hadoop-common: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [Help 1]
This being the reason -
[INFO] --- exec-maven-plugin:1.3.1:exec (shelldocs) @ hadoop-common --- tar: apache-yetus-0.14.0/lib/precommit/qbt.sh: Cannot create symlink to 'test-patch.sh': No such file or directory tar: Exiting with failure status due to previous errors ERROR: apache-yetus-0.14.0-bin.tar.gz is corrupt. Investigate and then remove /c/hadoop/patchprocess to try again.
The apache-yetus-0.14.0 tarball contains a symlink qbt.sh. Unzipping this tarball fails to create the qbt.sh symlink since the creation of symlink is limited to Admin or when the developer mode is enabled.
The solution here is to use the ln command to create the symlink and move it to the required target location
Attachments
Issue Links
- links to