Hadoop Common
  1. Hadoop Common
  2. HADOOP-8159

NetworkTopology: getLeaf should check for invalid topologies

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0, 2.0.0-alpha
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently, in NetworkTopology, getLeaf doesn't do too much validation on the InnerNode object itself. This results in us getting ClassCastException sometimes when the network topology is invalid. We should have a less confusing exception message for this case.

      1. HADOOP-8159-b1.007.patch
        2 kB
        Colin Patrick McCabe
      2. HADOOP-8159.009.patch
        2 kB
        Colin Patrick McCabe
      3. HADOOP-8159.008.patch
        4 kB
        Colin Patrick McCabe
      4. HADOOP-8159.007.patch
        4 kB
        Colin Patrick McCabe
      5. HADOOP-8159.006.patch
        7 kB
        Colin Patrick McCabe
      6. HADOOP-8159.005.patch
        7 kB
        Colin Patrick McCabe
      7. HADOOP-8159-b1.005.patch
        6 kB
        Colin Patrick McCabe

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Colin Patrick McCabe
              Reporter:
              Colin Patrick McCabe
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development