Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-26 Fix Ozone Unit Test Failures
  3. HDDS-145

Freon times out because of because of wrong ratis port number in datanode details

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.2.1
    • None
    • HDDS Acadia

    Description

      TestFreon is timing out with the following error because the ratis host is assigned as "e0500982-ee67-476a-b0a8-eaaede737ad7_org.apache.hadoop.hdds.protocol.DatanodeDetails$Port@63eef88a"

      2018-06-02 11:15:06,338 INFO  storage.RaftLogWorker (RaftLogWorker.java:<init>(86)) - new e0500982-ee67-476a-b0a8-eaaede737ad7_org.apache.hadoop.hdds.protocol.DatanodeDetails$Port@63eef88a-RaftLogWorker for Storage Directory /Users/msingh/code/work/apache/ozone/oz_review/hadoop-ozone/integration-test/target/test/data/MiniOzoneClusterImpl-669dfcd6-1f16-4993-b870-62571efb1e46/datanode-0/data/ratis/e0500982-ee67-476a-b0a8-eaaede737ad7/group-7347726F7570
      
      WARNING: [org.apache.ratis.shaded.io.grpc.internal.ManagedChannelImpl-11] Failed to resolve name. status=Status{code=UNAVAILABLE, description=Unable to resolve host 63eef88a, cause=java.net.UnknownHostExc
      eption: 63eef88a: nodename nor servname provided, or not known
              at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
              at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
              at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
              at java.net.InetAddress.getAllByName0(InetAddress.java:1276)
              at java.net.InetAddress.getAllByName(InetAddress.java:1192)
              at java.net.InetAddress.getAllByName(InetAddress.java:1126)
              at org.apache.ratis.shaded.io.grpc.internal.DnsNameResolver$JdkResolver.resolve(DnsNameResolver.java:361)
              at org.apache.ratis.shaded.io.grpc.internal.DnsNameResolver$1.run(DnsNameResolver.java:172)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      }
      

      Attachments

        1. HDDS-145.001.patch
          0.8 kB
          Mukul Kumar Singh
        2. HDDS-145.002.patch
          0.8 kB
          Mukul Kumar Singh

        Activity

          People

            msingh Mukul Kumar Singh
            msingh Mukul Kumar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: