Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-16417

RBF: StaticRouterRpcFairnessPolicyController init fails with division by 0 if concurrent ns handler count is configured

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.4.0
    • rbf

    Description

      If dfs.federation.router.fairness.handler.count.concurrent is configured, unassignedNS is thus empty and handlerCount % unassignedNS.size() will throw a /0 exception.

      Changed it to assigning extra handlers to concurrent ns in case it's configured.

      Attachments

        1. HDFS-16417.001.patch
          5 kB
          Felix N

        Issue Links

          Activity

            People

              coconut_icecream Felix N
              coconut_icecream Felix N
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h