[ 
https://issues.apache.org/jira/browse/IMPALA-12713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17884825#comment-17884825
 ] 

Abhishek Rawat commented on IMPALA-12713:
-----------------------------------------

There are other issues when using IPV6 addresses. Lot of existing code today 
assumes an IPv4 address.

[https://github.com/apache/impala/blob/branch-4.4.1/be/src/util/network-util.cc#L151]
{code:java}
TNetworkAddress MakeNetworkAddress(const string& address) {
  vector<string> tokens;
  split(tokens, address, is_any_of(":"));
  TNetworkAddress ret; 
  if (tokens.size() == 1) {
    ret.__set_hostname(tokens[0]);
    ret.port = 0;
    return ret;
  }
  if (tokens.size() != 2) return ret;
  ....... {code}

> Impala fails to start in IPv6 environment
> -----------------------------------------
>
>                 Key: IMPALA-12713
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12713
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 4.0.0
>            Reporter: Davy Xu
>            Priority: Major
>
> Impala fails to start in the IPv6 environment. The error log is as follows:
> Could not find IPv4 address for: myhost. Impalad exiting.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to