Skip to content

Remove the jdk directory to save space on bwc tests#41743

Merged
alpar-t merged 2 commits intoelastic:masterfrom
alpar-t:clean-up-bwc-test-folders
May 6, 2019
Merged

Remove the jdk directory to save space on bwc tests#41743
alpar-t merged 2 commits intoelastic:masterfrom
alpar-t:clean-up-bwc-test-folders

Conversation

@alpar-t
Copy link
Copy Markdown
Contributor

@alpar-t alpar-t commented May 2, 2019

This PR adresses the same concern as #41187 in a different way.
It removes only the JDK from the distribution once the cluster stops,
so we keep the same disk space requirements as before adding the JDK.
This is still a temporary measure, testclusters already deals with this
by doing the equivalent of cp -l instead of an actual copy.

alpar-t added 2 commits May 2, 2019 14:09
This PR adresses the same concern as elastic#41187 in a different way.
It removes only the JDK from the distribution once the cluster stops,
so we keep the same disk space requirements as before adding the JDK.
This is still a temporary measure, testclusters already deals with this
by doing the equivalent of `cp -l` instead of an actual copy.
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-infra

Copy link
Copy Markdown
Contributor

@mark-vieira mark-vieira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine to me but it's not clear to me what was problematic about the previous solution. Was deleting all but the data directory causing issues?

@alpar-t
Copy link
Copy Markdown
Contributor Author

alpar-t commented May 6, 2019

Yes, it was blowing away the logs too.

@alpar-t
Copy link
Copy Markdown
Contributor Author

alpar-t commented May 6, 2019

@elasticmachine run elasticsearch-ci/1

@mark-vieira
Copy link
Copy Markdown
Contributor

Yes, it was blowing away the logs too.

Couldn't we just explicitly keep the log directory?

@alpar-t
Copy link
Copy Markdown
Contributor Author

alpar-t commented May 6, 2019

Yes, the reason I decided to remove the JDK instead is that this takes us back to what we had before, instead of keeping the logs folder only to realize there's something else we still need.

@alpar-t alpar-t merged commit a66849d into elastic:master May 6, 2019
alpar-t added a commit that referenced this pull request May 6, 2019
* Revert "Revert "Clean up  clusters between tests (#41187)""

This reverts commit 9efc853.

* Remove the jdk directory to save space on bwc tests

This PR adresses the same concern as #41187 in a different way.
It removes only the JDK from the distribution once the cluster stops,
so we keep the same disk space requirements as before adding the JDK.
This is still a temporary measure, testclusters already deals with this
by doing the equivalent of `cp -l` instead of an actual copy.
alpar-t added a commit that referenced this pull request May 6, 2019
* Revert "Revert "Clean up  clusters between tests (#41187)""

This reverts commit 9efc853.

* Remove the jdk directory to save space on bwc tests

This PR adresses the same concern as #41187 in a different way.
It removes only the JDK from the distribution once the cluster stops,
so we keep the same disk space requirements as before adding the JDK.
This is still a temporary measure, testclusters already deals with this
by doing the equivalent of `cp -l` instead of an actual copy.
alpar-t added a commit that referenced this pull request May 6, 2019
* Revert "Revert "Clean up  clusters between tests (#41187)""

This reverts commit 9efc853.

* Remove the jdk directory to save space on bwc tests

This PR adresses the same concern as #41187 in a different way.
It removes only the JDK from the distribution once the cluster stops,
so we keep the same disk space requirements as before adding the JDK.
This is still a temporary measure, testclusters already deals with this
by doing the equivalent of `cp -l` instead of an actual copy.
@alpar-t alpar-t deleted the clean-up-bwc-test-folders branch May 6, 2019 17:29
alpar-t added a commit that referenced this pull request May 6, 2019
* Revert "Revert "Clean up  clusters between tests (#41187)""

This reverts commit 9efc853.

* Remove the jdk directory to save space on bwc tests

This PR adresses the same concern as #41187 in a different way.
It removes only the JDK from the distribution once the cluster stops,
so we keep the same disk space requirements as before adding the JDK.
This is still a temporary measure, testclusters already deals with this
by doing the equivalent of `cp -l` instead of an actual copy.
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request May 7, 2019
* elastic/master: (414 commits)
  Add tasks to build Docker build context artifacts (elastic#41819)
  Replace more uses of immutable map builder (elastic#41823)
  Force selection of calendar or fixed intervals in date histo agg (elastic#33727)
  Switch run task to use real distro (elastic#41590)
  Clarify that path_match also considers object fields. (elastic#41658)
  [DOCS] remove 'es.scripting.update.ctx_in_params' system property for 7.0 (elastic#41643)
  Clarify _doc is a permanent part of certain document APIs. (elastic#41727)
  Remove the jdk directory to save space on bwc tests (elastic#41743)
  Fix full text queries test that start with now (elastic#41854)
  Remove `nonApplicationWrite` from `SSLDriver` (elastic#41829)
  SQL: [Docs] Add example for custom bucketing with CASE (elastic#41787)
  Cleanup Bulk Delete Exception Logging (elastic#41693)
  [DOCS] Rewrite `term` query docs for new format (elastic#41498)
  Mute PermissionsIT#testWhen[...]ByILMPolicy (elastic#41858)
  ReadOnlyEngine assertion fix (elastic#41842)
  [ML] addresses preview bug, and adds check to PUT (elastic#41803)
  Fix javadoc in WrapperQueryBuilder
  Testsclusters use seprate configurations per version (elastic#41504)
  Skip explain fetch sub phase when request holds only suggestions (elastic#41739)
  remove unused import
  ...
gurkankaymak pushed a commit to gurkankaymak/elasticsearch that referenced this pull request May 27, 2019
* Revert "Revert "Clean up  clusters between tests (elastic#41187)""

This reverts commit 9efc853.

* Remove the jdk directory to save space on bwc tests

This PR adresses the same concern as elastic#41187 in a different way.
It removes only the JDK from the distribution once the cluster stops,
so we keep the same disk space requirements as before adding the JDK.
This is still a temporary measure, testclusters already deals with this
by doing the equivalent of `cp -l` instead of an actual copy.
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
@jakelandis jakelandis removed the v8.0.0 label Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants