Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore windows to use 1 executor max #211

Merged

Conversation

peterzhuamazon
Copy link
Member

Signed-off-by: Peter Zhu [email protected]

Description

Restore windows to use 1 executor max

Recent checks shows that if there are two or more executors get a hook on bash.exe, while trying to deploy to mavenlocal, which is C:\\Users\\Administrator\\.m2 the second process will not be able to access. The folder has to be forcefully removed before a second process can take over. Seems like some types of protection lock on Windows, since we are not having docker windows on windows.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':client:test:publishNebulaPublicationToMavenLocal'.
> Failed to publish publication 'nebula' to repository 'mavenLocal'
   > Could not write to resource 'file:/C:/Users/Administrator/.m2/repository/org/opensearch/client/test/test/2.4.0/test-2.4.0.jar'.
      > Unable to create parent directories of C:\Users\Administrator\.m2\repository\org\opensearch\client\test\test\2.4.0\test-2.4.0.jar


Issues Resolved

opensearch-project/opensearch-build#2306

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@peterzhuamazon peterzhuamazon added the bug Something isn't working label Oct 25, 2022
@peterzhuamazon peterzhuamazon self-assigned this Oct 25, 2022
@peterzhuamazon peterzhuamazon requested a review from a team as a code owner October 25, 2022 05:58
@peterzhuamazon peterzhuamazon merged commit e198165 into opensearch-project:main Oct 25, 2022
@peterzhuamazon peterzhuamazon deleted the opensearch-one-executor branch October 25, 2022 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants