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 "Takeru Kuramoto (Jira)" <ji...@apache.org> on 2020/10/05 09:53:00 UTC

[jira] [Updated] (HADOOP-17298) Backslash in username causes build failure in the environment started by start-build-env.sh.

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

Takeru Kuramoto updated HADOOP-17298:
-------------------------------------
    Summary: Backslash in username causes build failure in the environment started by start-build-env.sh.  (was: Backslash in username cause build failure in the environment started by start-build-env.sh.)

> Backslash in username causes build failure in the environment started by start-build-env.sh.
> --------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-17298
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17298
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>            Reporter: Takeru Kuramoto
>            Assignee: Takeru Kuramoto
>            Priority: Minor
>
> If a username includes a backslash, `mvn clean install` fails in an environment started by start-build-env.sh.
> Here is my result in Amazon WorkSpaces.
>  
> {code:java}
> CORPbtkuramototkr@b8e750b1e386:/home/CORP\btkuramototkr/hadoop/hadoop-build-to
> ols$ mvn clean install
> /usr/bin/mvn: 1: cd: can't cd to /home/CORtkuramototkr/hadoop/hadoop-build-tools/..
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] ----------------< org.apache.hadoop:hadoop-build-tools >----------------
> [INFO] Building Apache Hadoop Build Tools 3.4.0-SNAPSHOT
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hadoop-build-tools ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-resources) @ hadoop-build-tools ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.074 s
> [INFO] Finished at: 2020-10-05T02:51:53Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.0.1:copy-resources (copy-resources) on project hadoop-build-tools: Cannot create resource output directory: /home/CORP/btkuramototkr/hadoop/hadoop-build-tools/target/extra-resources -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> {code}
>  
> This problem can be solved by adding an option to change the path to maven's local repository in the container so that users can remove backslashes from their username.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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