You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Íñigo Goiri (Jira)" <ji...@apache.org> on 2023/05/08 16:57:00 UTC
[jira] [Resolved] (HADOOP-18734) Create qbt.sh symlink on Windows
[ https://issues.apache.org/jira/browse/HADOOP-18734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Íñigo Goiri resolved HADOOP-18734.
----------------------------------
Fix Version/s: 3.4.0
Hadoop Flags: Reviewed
Resolution: Fixed
> Create qbt.sh symlink on Windows
> --------------------------------
>
> Key: HADOOP-18734
> URL: https://issues.apache.org/jira/browse/HADOOP-18734
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 3.4.0
> Environment: Windows 10
> Reporter: Gautham Banasandra
> Assignee: Gautham Banasandra
> Priority: Critical
> Labels: pull-request-available
> Fix For: 3.4.0
>
>
> The hadoop-common project fails when mvnsite is built while running the shelldocs plugin on Windows 10 -
> {code}
> [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]
> {code}
> This being the reason -
> {code}
> [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.
> {code}
> 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
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org