Bilwa S T created HADOOP-17119:
----------------------------------

             Summary: Netty upgrade to 9.4.x causes MR app fail with IOException
                 Key: HADOOP-17119
                 URL: https://issues.apache.org/jira/browse/HADOOP-17119
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Bilwa S T
            Assignee: Bilwa S T


I think we should catch IOException here instead of BindException in 
HttpServer2#bindForPortRange
{code:java}
 for(Integer port : portRanges) {
      if (port == startPort) {
        continue;
      }
      Thread.sleep(100);
      listener.setPort(port);
      try {
        bindListener(listener);
        return;
      } catch (BindException ex) {
        // Ignore exception. Move to next port.
        ioException = ex;
      }
    }
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to