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

Do not retry rpc calls If the proxy contains unresolved address

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When the InetSocketAddress object happens to be unresolvable (e.g. due to transient DNS issue), the rpc proxy object will not be usable since the client will throw UnknownHostException when a Connection object is created. If FailoverOnNetworkExceptionRetry is used as in the standard HA failover proxy, the call will be retried, but this will never recover. Instead, the validity of address must be checked on pxoy creation and throw if it is invalid.

        Attachments

        1. HDFS-8068.v2.patch
          3 kB
          Kihwal Lee
        2. HDFS-8068.v1.patch
          3 kB
          Kihwal Lee

          Issue Links

            Activity

              People

              • Assignee:
                kihwal Kihwal Lee
                Reporter:
                kihwal Kihwal Lee
              • Votes:
                1 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated: