Fixed
Details
Assignee
Russell SpitzerRussell SpitzerReporter
Russell SpitzerRussell SpitzerReviewer
HHReviewer 2
Piotr KołaczkowskiPiotr KołaczkowskiComponents
Fix versions
Priority
Major
Details
Details
Assignee
Russell Spitzer
Russell SpitzerReporter
Russell Spitzer
Russell SpitzerReviewer
H
HReviewer 2
Piotr Kołaczkowski
Piotr KołaczkowskiComponents
Fix versions
Priority
Created April 17, 2015 at 12:50 AM
Updated April 30, 2015 at 5:37 PM
Resolved April 28, 2015 at 4:54 PM
On some systems the executors are bound to IP addresses which are not resolvable by reverse dns. When the preferred location method uses only the getHostAddress this can yield a string which does not match.
So if for example the exeuctor is advertised as "127.0.0.1" and we use getHostName we may return "localhost". localhost != 127.0.0.1 this address so this will not map correctly and spark won't understand the locality.
We most likely will need to change this to also include the listen addresses of C* nodes just to make sure that all of the possible interfaces a spark worker can be bound on are covered.