Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8630

rename isSingleSwitch() methods in new topo base class to isFlatTopology()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Won't Fix
    • 2.0.0-alpha, 3.0.0-alpha1
    • None
    • util
    • None

    Description

      The new topology logic that is not yet turned on in HDFS uses the method isSingleSwitch() for implementations to declare whether or not they are single switch.

      The use of "switch" is an implementation issue; the big VM-based patch shows that really it's about "flat" vs "hierarchical", with Hadoop assuming that subtrees in the hierarchy have better bandwidth (good) but correlated failures (bad).

      Renaming the method now before it's fixed and used is time time to do it.

      Attachments

        1. HADOOP-8630.2.patch
          13 kB
          Tsuyoshi Ozawa
        2. HADOOP-8630.patch
          20 kB
          Tsuyoshi Ozawa

        Issue Links

          Activity

            People

              ozawa Tsuyoshi Ozawa
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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