[
https://issues.apache.org/jira/browse/ARROW-15199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Li resolved ARROW-15199.
------------------------------
Fix Version/s: 7.0.0
Resolution: Fixed
Issue resolved by pull request 12040
[https://github.com/apache/arrow/pull/12040]
> [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
> Fix For: 7.0.0
>
> Time Spent: 50m
> 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)