You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/05/06 12:33:00 UTC

[jira] [Commented] (HADOOP-18734) Create qbt.sh symlink on Windows

    [ https://issues.apache.org/jira/browse/HADOOP-18734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17720208#comment-17720208 ] 

ASF GitHub Bot commented on HADOOP-18734:
-----------------------------------------

GauthamBanasandra opened a new pull request, #5626:
URL: https://github.com/apache/hadoop/pull/5626

   <!--
     Thanks for sending a pull request!
       1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
       2. Make sure your PR title starts with JIRA issue id, e.g., 'HADOOP-17799. Your PR title ...'.
   -->
   
   ### Description of PR
   
   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] -

> 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
>
> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org