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

RBF: Invoking method in all locations should break the loop after successful result

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0, 3.3.2
    • Component/s: None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      rename, delete and mkdir used by Router client usually calls multiple locations if the path is present in multiple sub-clusters. After invoking multiple concurrent proxy calls to multiple clients, we iterate through all results and mark anyResult true if at least one of them was successful. We should break the loop if one of the proxy call result was successful rather than iterating over remaining calls.

        Attachments

          Activity

            People

            • Assignee:
              vjasani Viraj Jasani
              Reporter:
              vjasani Viraj Jasani
            • Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1.5h
                1.5h