Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5104

TestNMProxy.testNMProxyRPCRetry failed

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.9.0
    • None
    • None

    Description

      TestNMProxy.testNMProxyRPCRetry throws an exception and expected to be caught and handled.

      YARN-4916 did handle this exception:

      java.net.BindException: Problem binding to [xxx] java.net.BindException: Can't assign requested address; For more details see:  http://wiki.apache.org/hadoop/BindException
      

      But it can also throw

      java.io.IOException: Failed on local exception: java.net.SocketException: Invalid argument; Host Details : local host is: "xxx"; destination host is: "1234":0; "
      

      and this failed YARN-4916 with following message.

      Error Message:
      null
      Stack Trace:
      java.lang.AssertionError: null
      at org.junit.Assert.fail(Assert.java:86)
      at org.junit.Assert.assertTrue(Assert.java:41)
      at org.junit.Assert.assertTrue(Assert.java:52)
      at org.apache.hadoop.yarn.server.nodemanager.containermanager.TestNMProxy.testNMProxyRPCRetry(TestNMProxy.java:192)
      

      Attachments

        1. YARN-5104.001.patch
          1 kB
          Yufei Gu

        Issue Links

          Activity

            People

              yufeigu Yufei Gu
              yufeigu Yufei Gu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: