XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Yarn Federation is a very useful feature, especially important in clusters with more than 1,000 units. For example, we have 2 offline clusters, which are used for ad-hoc and offline scheduling (etl) respectively. We hope to be able to isolate and rationally use 2 The resources of a cluster, at night, adhoc resources can be used by the etl cluster; at the same time, during breakfast (9:00-22:00), the etl cluster resources can also be used by the adhoc cluster.

      At the same time, so that more people can use this feature, gradually improve the method that has not been implemented.

      In YARN-10465, some methods have been implemented, from a personal point of view, some doubts.
      Question 1: Without considering the metric implementation, it is impossible to understand the execution of related functions.
      Question 2: Using multi-threading and reflection implementation, the readability of the related logic is relatively poor, and there is not much performance difference between this method and the conventional loop method to obtain the theory.
      Question 3: The code is already 2 years old, merged into the local branch, there may be conflicts.

      Attachments

        Issue Links

          Activity

            People

              slfan1989 Shilun Fan
              slfan1989 Shilun Fan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 48h
                  48h
                  Remaining:
                  Time Spent - 2h 10m Remaining Estimate - 45h 50m
                  45h 50m
                  Logged:
                  Time Spent - 2h 10m Remaining Estimate - 45h 50m
                  2h 10m