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

Remove dead code from DALiuGE #13

Merged
merged 7 commits into from
Jun 8, 2020
Merged

Remove dead code from DALiuGE #13

merged 7 commits into from
Jun 8, 2020

Conversation

rtobar
Copy link
Contributor

@rtobar rtobar commented Jun 4, 2020

These commits remove different pieces of dead code and artifacts from DALiuGE's runtime and translator packages. This includes:

  • Small experimental scripts contained within the different {{dlg}} packages that were not part of the actual library, but rather used to manually test code, create plots, etc.
  • Experimental data and other artifacts dating from the 2016 scalability tests performed at Pawsey and Tianhe-II (including Java code)
  • Experimental support for SHORE drops. SHORE was the middleware developed by Jason as part of his PhD thesis, and this experimental support in daliuge (dfms at the time) was never used in reality
  • The fileimport app drop, which was created only to satisfy a JIRA ticket a few years ago but otherwise has no value
  • The spead app drop, which was written years ago to demonstrate how spead2 and daliuge (dfms at the time) could interact, but otherwise has seen no usage, and is often skipped even by the tests.
  • Experimental Partition subclasses that lived in the scheduler module only for a few months in 2017 and after that saw no further use.
  • Experimental Scheduler subclasses, and supporting code, that have never seen the light of day via command-line options or public API endpoints. Some even didn't have unit tests, or were regularly skipped.

After these changes the overall code coverage has gone up from ~70% to ~77%.

These were small experiments or utility modules that have no place in
the current codebase. They are still available in our git history in
case we need to check their contents.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
This set of scripts, Java code, CSV files and and jupyter notebook were
used during the initial scalability benchmarks we ran in Pawsey and
Tianhe-II back in 2016. These files have no place in our codebase
though, so they are being removed in this commit. If anyone needs them
they are in the git history.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
The core daliuge runtime code had some initial support for SHORE-stored
data, but this was always very experimental and never saw any usage.
This commit drops this support.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
This application drop was created only to satisfy a JIRA ticket sometime
in the past, but in reality has no value.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
This application drop was initially written to demonstrate that we could
use spead2 and daliuge (dfms at the time) together. This application has
never seen usage however, its tests are always skipped, and therefore is
simply dead code.

If needed in the future, this code could be resurrected, although it's
nothing special and can easily be reproduced (probably in a better
shape).

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
These were used at some point, but only very briefly: in Jan 2017 they
were added, and by May their usage was already commented out.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
Except for testing, these schedulers were never publicly exposed to
command-line or public API endpoints, and therefore have never been used
outside local experiments. Removing them will cause no harm.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
@rtobar rtobar requested a review from davepallot June 4, 2020 04:16
@coveralls
Copy link

Coverage Status

Coverage increased (+6.6%) to 76.632% when pulling c86850e on dead-code into df5eee8 on master.

Copy link
Contributor

@davepallot davepallot left a comment

Choose a reason for hiding this comment

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

Looks to be in good order.

@rtobar
Copy link
Contributor Author

rtobar commented Jun 8, 2020

Thanks for the review @davepallot, I'll be merging now

@rtobar rtobar merged commit c86850e into master Jun 8, 2020
@rtobar rtobar deleted the dead-code branch June 8, 2020 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants