Uploaded image for project: 'Engineering'
  1. Engineering
  2. ENG-544

Check isResolved on InetSocketAddresses when connecting to servers in ConnectionUtil getAuthenticatedConnection.

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V0.9
    • Fix Version/s: V1
    • Component/s: Core

      Description

      Should log and provide the unresolved hostname. Currently, we present this exception:

      [java] Exception in thread "main" java.nio.channels.UnresolvedAddressException
      [java] at sun.nio.ch.Net.checkAddress(Net.java:30)
      [java] at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:487)
      [java] at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
      [java] at org.voltdb.client.ConnectionUtil.getAuthenticatedConnection(ConnectionUtil.java:94)
      [java] at org.voltdb.client.Distributer.createConnection(Distributer.java:448)
      [java] at org.voltdb.client.Distributer.createConnection(Distributer.java:442)
      [java] at org.voltdb.client.ClientImpl.createConnection(ClientImpl.java:113)
      [java] at com.ClientVoter.main(ClientVoter.java:165)
      [java] Java Result: 1

      See http://community.voltdb.com/node/113

        Attachments

          Activity

            People

            • Assignee:
              aweisberg Ariel Weisberg
              Reporter:
              rbetts Ryan Betts
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support