[
https://issues.apache.org/jira/browse/HADOOP-17298?focusedWorklogId=502487&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-502487
]
ASF GitHub Bot logged work on HADOOP-17298:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 20/Oct/20 04:27
Start Date: 20/Oct/20 04:27
Worklog Time Spent: 10m
Work Description: tkuramoto33 commented on pull request #2367:
URL: https://github.com/apache/hadoop/pull/2367#issuecomment-712580410
@aajisaka Thank you for reviewing my patch!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 502487)
Time Spent: 40m (was: 0.5h)
> 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
> Labels: pull-request-available
> Fix For: 3.3.1, 3.4.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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: [email protected]
For additional commands, e-mail: [email protected]