You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "James Clampffer (JIRA)" <ji...@apache.org> on 2017/01/05 17:05:58 UTC
[jira] [Created] (HDFS-11294) libhdfs++: Segfault in HA failover if
DNS lookup for both Namenodes fails
James Clampffer created HDFS-11294:
--------------------------------------
Summary: libhdfs++: Segfault in HA failover if DNS lookup for both Namenodes fails
Key: HDFS-11294
URL: https://issues.apache.org/jira/browse/HDFS-11294
Project: Hadoop HDFS
Issue Type: Sub-task
Reporter: James Clampffer
Assignee: James Clampffer
Hit while doing more manual testing on HDFS-11028.
The HANamenodeTracker takes an asio endpoint to figure out what endpoint on the other node to try next during a failover. This is done by passing the element at index 0 from endpoints (a std::vector<asio endpoint>).
When DNS fails the endpoints vector for that node will be empty so the iterator returned by endpoints\[0\] is just a null pointer that gets dereferenced and causes a segfault.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org