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

TestGetConf#testFederation times out on Windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.1.0-beta
    • Component/s: test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Test times out on the below stack:

      java.lang.Exception: test timed out after 10000 milliseconds
      	at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
      	at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:849)
      	at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1202)
      	at java.net.InetAddress.getAllByName0(InetAddress.java:1153)
      	at java.net.InetAddress.getAllByName(InetAddress.java:1083)
      	at java.net.InetAddress.getAllByName(InetAddress.java:1019)
      	at java.net.InetAddress.getByName(InetAddress.java:969)
      	at org.apache.hadoop.security.SecurityUtil$StandardHostResolver.getByName(SecurityUtil.java:543)
      	at org.apache.hadoop.security.SecurityUtil.getByName(SecurityUtil.java:530)
      	at org.apache.hadoop.net.NetUtils.createSocketAddrForHost(NetUtils.java:232)
      	at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:212)
      	at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:160)
      	at org.apache.hadoop.net.NetUtils.createSocketAddr(NetUtils.java:149)
      	at org.apache.hadoop.hdfs.DFSUtil.getAddressesForNameserviceId(DFSUtil.java:483)
      	at org.apache.hadoop.hdfs.DFSUtil.getAddresses(DFSUtil.java:466)
      	at org.apache.hadoop.hdfs.DFSUtil.getNNServiceRpcAddresses(DFSUtil.java:592)
      	at org.apache.hadoop.hdfs.tools.TestGetConf.getAddressListFromConf(TestGetConf.java:109)
      	at org.apache.hadoop.hdfs.tools.TestGetConf.verifyAddresses(TestGetConf.java:209)
      	at org.apache.hadoop.hdfs.tools.TestGetConf.testFederation(TestGetConf.java:313)
      

        Attachments

        1. HDFS-4722.patch
          1 kB
          Ivan Mitic

          Issue Links

            Activity

              People

              • Assignee:
                ivanmi Ivan Mitic
                Reporter:
                ivanmi Ivan Mitic
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: