You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/12/27 16:01:00 UTC
[jira] [Updated] (ARROW-15199) [Java] Update protobuf-maven-plugin to avoid "Text file busy" failure
[ https://issues.apache.org/jira/browse/ARROW-15199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-15199:
-----------------------------------
Labels: pull-request-available (was: )
> [Java] Update protobuf-maven-plugin to avoid "Text file busy" failure
> ---------------------------------------------------------------------
>
> Key: ARROW-15199
> URL: https://issues.apache.org/jira/browse/ARROW-15199
> Project: Apache Arrow
> Issue Type: Bug
> Components: Java
> Reporter: David Li
> Assignee: David Li
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Example:
> {noformat}
> Error: Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.0:compile (test) on project flight-core: An error occurred while invoking protoc. Error while executing process. Cannot run program "/arrow/java/flight/flight-core/target/protoc-plugins/protoc-3.17.3-linux-x86_64.exe": error=26, Text file busy -> [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
> Error:
> Error: After correcting the problems, you can resume the build with the command
> Error: mvn <args> -rf :flight-core
> {noformat}
> Appears to be due to a JDK bug: https://github.com/xolstice/protobuf-maven-plugin/issues/34
> A workaround was introduced in the 0.5.1 version of the Maven plugin we use but from the log above, we're on 0.5.0.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)