Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11462

Fix occasional BindException in TestNameNodeMetricsLogger

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha4
    • test
    • None
    • Reviewed

    Description

      TestNameNodeMetricsLogger occasionally hits BindException even though it uses ServerSocketUtil.getPort to get a random port number.

      It's better to specify a port number of 0 and let the OS allocate an unused port.

      Attachments

        1. HDFS-11462.01.patch
          2 kB
          Arpit Agarwal

        Activity

          People

            arp Arpit Agarwal
            arp Arpit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: