Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-18734

Create qbt.sh symlink on Windows

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersStop watchingWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • build
    • Windows 10

    • Reviewed

    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            gaurava Gautham Banasandra Assign to me
            gaurava Gautham Banasandra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment