Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5597 YARN Federation improvements
  3. YARN-11358

[Federation] Add FederationInterceptor#allow-partial-result config.

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      When we use Federation, we will have multiple sub-clusters, and some interfaces need to call all clusters to get results, 
      such as getNodes, getNodeToLabels, etc.

      But if the sub-cluster is unavailable when we call the interface, should the interface return the result?

      The current code is to return the result.If the result is returned, the result information is inaccurate; 
      if the result is not returned, it is not user-friendly

      We'd better add a parameter control, the user chooses whether to report an error or return the result.

      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: