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-b1.005.patch
        6 kB
        Colin Patrick McCabe
      3. HADOOP-8159.009.patch
        2 kB
        Colin Patrick McCabe
      4. HADOOP-8159.008.patch
        4 kB
        Colin Patrick McCabe
      5. HADOOP-8159.007.patch
        4 kB
        Colin Patrick McCabe
      6. HADOOP-8159.006.patch
        7 kB
        Colin Patrick McCabe
      7. HADOOP-8159.005.patch
        7 kB
        Colin Patrick McCabe

        Issue Links

          Activity

          Colin Patrick McCabe created issue -
          Colin Patrick McCabe made changes -
          Field Original Value New Value
          Attachment HADOOP-8159.002.patch [ 12517818 ]
          Colin Patrick McCabe made changes -
          Link This issue is a clone of NET-452 [ NET-452 ]
          Sebb made changes -
          Link This issue is a clone of NET-452 [ NET-452 ]
          Colin Patrick McCabe made changes -
          Attachment HADOOP-8159.003.patch [ 12518371 ]
          Colin Patrick McCabe made changes -
          Attachment HADOOP-8159.004.patch [ 12518376 ]
          Colin Patrick McCabe made changes -
          Attachment HADOOP-8159.002.patch [ 12517818 ]
          Colin Patrick McCabe made changes -
          Attachment HADOOP-8159.003.patch [ 12518371 ]
          Colin Patrick McCabe made changes -
          Attachment HADOOP-8159-b1.005.patch [ 12518377 ]
          Colin Patrick McCabe made changes -
          Attachment HADOOP-8159.004.patch [ 12518376 ]
          Colin Patrick McCabe made changes -
          Attachment HADOOP-8159.005.patch [ 12518380 ]
          Colin Patrick McCabe made changes -
          Attachment HADOOP-8159.006.patch [ 12518619 ]
          Colin Patrick McCabe made changes -
          Attachment HADOOP-8159.007.patch [ 12519127 ]
          Eli Collins made changes -
          Fix Version/s 1.0.0 [ 12318244 ]
          Target Version/s 1.0.0 [ 12318244 ] 1.1.0, 0.23.3 [ 12316501, 12320059 ]
          Eli Collins made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Hadoop Flags Reviewed [ 10343 ]
          Affects Version/s 1.0.0 [ 12318244 ]
          Target Version/s 0.23.3, 1.1.0 [ 12320059, 12316501 ] 1.1.0, 0.23.3 [ 12316501, 12320059 ]
          Colin Patrick McCabe made changes -
          Attachment HADOOP-8159.008.patch [ 12519495 ]
          Colin Patrick McCabe made changes -
          Link This issue relates to HDFS-3129 [ HDFS-3129 ]
          Colin Patrick McCabe made changes -
          Attachment HDFS-3050.011.patch [ 12519512 ]
          Colin Patrick McCabe made changes -
          Attachment HDFS-3050.011.patch [ 12519512 ]
          Colin Patrick McCabe made changes -
          Attachment HADOOP-8159.009.patch [ 12519513 ]
          Eli Collins made changes -
          Fix Version/s 0.23.3 [ 12320059 ]
          Target Version/s 0.23.3, 1.1.0 [ 12320059, 12316501 ] 1.1.0 [ 12316501 ]
          Colin Patrick McCabe made changes -
          Attachment HADOOP-8159-b1.007.patch [ 12519537 ]
          Eli Collins made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Target Version/s 1.1.0 [ 12316501 ]
          Fix Version/s 1.1.0 [ 12316501 ]
          Resolution Fixed [ 1 ]
          Arun C Murthy made changes -
          Fix Version/s 2.0.0 [ 12320352 ]
          Fix Version/s 0.23.3 [ 12320059 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            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