Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: swap advantages/disadvantages of method 1, fix link to example repo

...

This approach doesn't require any special attention we can push the existing source to a separated repository (only the selected branches).

Advantages:

  1. Easier to search for 5 years old changes

Disadvantages:

  1. Git log/history will contain all the irrelevant commits (ancient mapreduce/yarn commits for example)
  2. Repo size will remain very huge (~1G for Hadoop) which makes slower all of the CI steps

Disadvantages:

  1. Easier to search for 5 years old changes


(2) Filter branch and create a new git history

...

See this repository as an example: HDFS-13258. Ozone: restructure Hdsl/Ozone code to separated maven subprojects. https://github.com/elek/hadoop-ozone

Note: I suggest to follow the second approach

...