cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefania (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-11979) cqlsh copyutil should get host metadata by connected address
Date Mon, 04 Jul 2016 05:14:10 GMT


Stefania commented on CASSANDRA-11979:

Driver version 3.5 is now available and will be embedded into cqlsh by CASSANDRA-11850, once
that ticket is committed this task can be done.

> cqlsh copyutil should get host metadata by connected address
> ------------------------------------------------------------
>                 Key: CASSANDRA-11979
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Adam Holmberg
>            Assignee: Stefania
>            Priority: Minor
>             Fix For: 2.2.x, 3.x
> pylib.copyutil presently accesses cluster metadata using {{shell.hostname}} which could
be an unresolved hostname.
> Cluster metadata normally refers to hosts in terms of numeric host address, not hostname.
This works in the current integration because the driver allows hosts with unresolved names
into metadata during the initial control connection. In a future version of the driver, that
anomaly is removed, and no duplicate hosts-by-name are present in the metadata.
> We will need to update copyutil to refer to hosts by address when accessing metadata.
This can be accomplished by one of two methods presently:
> # (gives the current connected host address)
> # scan metadata.all_hosts() for the one that {{is_up}} and use host.address/host.datacenter

This message was sent by Atlassian JIRA

View raw message