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

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

GauthamBanasandra commented on code in PR #5679:
URL: https://github.com/apache/hadoop/pull/5679#discussion_r1199758698


##########
dev-support/docker/Dockerfile_windows_10:
##########
@@ -108,6 +108,12 @@ RUN powershell Copy-Item -Path 
"C:\LibXXHash\usr\bin\*.dll" -Destination "C:\Pro
 RUN powershell Copy-Item -Path "C:\LibZStd\usr\bin\*.dll" -Destination 
"C:\Program` Files\Git\usr\bin"
 RUN powershell Copy-Item -Path "C:\RSync\usr\bin\*" -Destination "C:\Program` 
Files\Git\usr\bin"
 
+# Install Python 3.10.11.

Review Comment:
   I normally choose a version that's less recent so that it's mature and has 
got the appropriate fixes (if any that were discovered upon release).
   1. `3.10.11` -> Would've gone through 11 iterations after release, hopefully 
containing the bug fixes from the time when `3.10.0` was released.
   2. `3.12.0` -> Is just the first release and could potentially have some 
bugs.
   
   This is just a practice that I follow. I don't mind bumping up the version 
to `3.12.0` if you insist.





> Install Python 3 for Windows 10 docker image
> --------------------------------------------
>
>                 Key: HADOOP-18746
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18746
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.4.0
>         Environment: Windows 10
>            Reporter: Gautham Banasandra
>            Assignee: Gautham Banasandra
>            Priority: Major
>              Labels: pull-request-available
>
> Currently, mvnsite build phase fails due to the following error -
> {code}
> [INFO] ------------------< org.apache.hadoop:hadoop-common 
> >-------------------
> [INFO] Building Apache Hadoop Common 3.4.0-SNAPSHOT                    
> [11/114]
> [INFO] --------------------------------[ jar 
> ]---------------------------------
> [INFO] 
> [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hadoop-common ---
> [INFO] Deleting C:\hadoop\hadoop-common-project\hadoop-common\target
> [INFO] Deleting 
> C:\hadoop\hadoop-common-project\hadoop-common\src\site\markdown (includes = 
> [UnixShellAPI.md], excludes = [])
> [INFO] Deleting 
> C:\hadoop\hadoop-common-project\hadoop-common\src\site\resources (includes = 
> [configuration.xsl, core-default.xml], excludes = [])
> [INFO] 
> [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
> /usr/bin/env: 'python3': No such file or directory
> {code}
> Thus, we need to install Python 3 in the Windows 10 Hadoop builder docker 
> image to fix this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to