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 "Gautham Banasandra (Jira)" <ji...@apache.org> on 2025/03/02 05:21:00 UTC

[jira] [Updated] (HADOOP-19476) Create python3 symlink needed for mvnsite

     [ https://issues.apache.org/jira/browse/HADOOP-19476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gautham Banasandra updated HADOOP-19476:
----------------------------------------
    Description: 
The mvnsite compilation step needs python3. Although we're installing python3 in the build environment, the python3 executable is missing.
Thus, we need to create a symbolic link python3 pointing to python.exe needed for mvnsite.

Failure -
{code}
[INFO] ------------------< org.apache.hadoop:hadoop-common >-------------------
[INFO] Building Apache Hadoop Common 3.5.0-SNAPSHOT                    [11/115]
[INFO]   from hadoop-common-project\hadoop-common\pom.xml
[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 ---
/usr/bin/env: 'python3': No such file or directory
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Hadoop Main 3.5.0-SNAPSHOT:
[INFO] 
[INFO] Apache Hadoop Main ................................. SUCCESS [21:20 min]
[INFO] Apache Hadoop Build Tools .......................... SUCCESS [  0.017 s]
[INFO] Apache Hadoop Project POM .......................... SUCCESS [  2.107 s]
[INFO] Apache Hadoop Annotations .......................... SUCCESS [  2.018 s]
[INFO] Apache Hadoop Assemblies ........................... SUCCESS [  0.411 s]
[INFO] Apache Hadoop Project Dist POM ..................... SUCCESS [  0.326 s]
[INFO] Apache Hadoop Maven Plugins ........................ SUCCESS [  5.055 s]
[INFO] Apache Hadoop MiniKDC .............................. SUCCESS [  2.848 s]
[INFO] Apache Hadoop Auth ................................. SUCCESS [  9.377 s]
[INFO] Apache Hadoop Auth Examples ........................ SUCCESS [  2.012 s]
[INFO] Apache Hadoop Common ............................... FAILURE [  6.722 s]
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  21:54 min
[INFO] Finished at: 2025-02-28T07:36:22Z
[INFO] ------------------------------------------------------------------------
[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: 127 (Exit value: 127) -> [Help 1]
[ERROR] 
{code}

  was:
The mvnsite compilation step needs python3. Although we're installing python3 in the build environment, the python3 executable is missing.
Thus, we need to create a symbolic link python3 pointing to python.exe needed for mvnsite.


> Create python3 symlink needed for mvnsite
> -----------------------------------------
>
>                 Key: HADOOP-19476
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19476
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: common
>    Affects Versions: 3.5.0
>         Environment: Windows 10
>            Reporter: Gautham Banasandra
>            Assignee: Gautham Banasandra
>            Priority: Critical
>             Fix For: 3.5.0
>
>
> The mvnsite compilation step needs python3. Although we're installing python3 in the build environment, the python3 executable is missing.
> Thus, we need to create a symbolic link python3 pointing to python.exe needed for mvnsite.
> Failure -
> {code}
> [INFO] ------------------< org.apache.hadoop:hadoop-common >-------------------
> [INFO] Building Apache Hadoop Common 3.5.0-SNAPSHOT                    [11/115]
> [INFO]   from hadoop-common-project\hadoop-common\pom.xml
> [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 ---
> /usr/bin/env: 'python3': No such file or directory
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache Hadoop Main 3.5.0-SNAPSHOT:
> [INFO] 
> [INFO] Apache Hadoop Main ................................. SUCCESS [21:20 min]
> [INFO] Apache Hadoop Build Tools .......................... SUCCESS [  0.017 s]
> [INFO] Apache Hadoop Project POM .......................... SUCCESS [  2.107 s]
> [INFO] Apache Hadoop Annotations .......................... SUCCESS [  2.018 s]
> [INFO] Apache Hadoop Assemblies ........................... SUCCESS [  0.411 s]
> [INFO] Apache Hadoop Project Dist POM ..................... SUCCESS [  0.326 s]
> [INFO] Apache Hadoop Maven Plugins ........................ SUCCESS [  5.055 s]
> [INFO] Apache Hadoop MiniKDC .............................. SUCCESS [  2.848 s]
> [INFO] Apache Hadoop Auth ................................. SUCCESS [  9.377 s]
> [INFO] Apache Hadoop Auth Examples ........................ SUCCESS [  2.012 s]
> [INFO] Apache Hadoop Common ............................... FAILURE [  6.722 s]
> ...
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  21:54 min
> [INFO] Finished at: 2025-02-28T07:36:22Z
> [INFO] ------------------------------------------------------------------------
> [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: 127 (Exit value: 127) -> [Help 1]
> [ERROR] 
> {code}



--
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