presto-hive/src/main/java/io/prestosql/plugin/hive/util/InternalHiveSplitFactory.java/InternalHiveSplitFactory/getHostAddresses
class InternalHiveSplitFactory:    private static List<HostAddress> getHostAddresses(BlockLocation blockLocation)
    {
        // Hadoop FileSystem returns "localhost" as a default
        return Arrays.stream(getBlockHosts(blockLocation))
                .map(HostAddress::fromString)
                .filter(address -> !address.getHostText().equals("localhost"))
                .collect(toImmutableList());
    }