[jira] [Updated] (CASSANDRA-8596) Display datacenter/rack info for offline nodes - PropertyFileSnitch
[ https://issues.apache.org/jira/browse/CASSANDRA-8596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Williams updated CASSANDRA-8596: Status: Open (was: Patch Available) > Display datacenter/rack info for offline nodes - PropertyFileSnitch > --- > > Key: CASSANDRA-8596 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8596 > Project: Cassandra > Issue Type: Improvement > Components: Legacy/Distributed Metadata >Reporter: Vovodroid >Priority: Low > Attachments: ByteBufferUtils.diff, file_snitch.patch > > > When using GossipPropertyFileSnitch "nodetool status" shows default (from > cassandra-topology.properties ) datacenter/rack for offline nodes. > It happens because offline nodes are not in endpointMap, and thus > getRawEndpointInfo returns default DC/rack is returned > (PropertyFileSnitch.java). > I suggest to take info for those nodes from system.peers tables - just like > SELECT data_center,rack FROM system.peers WHERE peer='10.0.0.1' > Patch attached. -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-8596) Display datacenter/rack info for offline nodes - PropertyFileSnitch
[ https://issues.apache.org/jira/browse/CASSANDRA-8596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] C. Scott Andreas updated CASSANDRA-8596: Component/s: Distributed Metadata > Display datacenter/rack info for offline nodes - PropertyFileSnitch > --- > > Key: CASSANDRA-8596 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8596 > Project: Cassandra > Issue Type: Improvement > Components: Distributed Metadata >Reporter: Vovodroid >Priority: Minor > Attachments: ByteBufferUtils.diff, file_snitch.patch > > > When using GossipPropertyFileSnitch "nodetool status" shows default (from > cassandra-topology.properties ) datacenter/rack for offline nodes. > It happens because offline nodes are not in endpointMap, and thus > getRawEndpointInfo returns default DC/rack is returned > (PropertyFileSnitch.java). > I suggest to take info for those nodes from system.peers tables - just like > SELECT data_center,rack FROM system.peers WHERE peer='10.0.0.1' > Patch attached. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-8596) Display datacenter/rack info for offline nodes - PropertyFileSnitch
[ https://issues.apache.org/jira/browse/CASSANDRA-8596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Yudovin updated CASSANDRA-8596: Status: Patch Available (was: Open) > Display datacenter/rack info for offline nodes - PropertyFileSnitch > --- > > Key: CASSANDRA-8596 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8596 > Project: Cassandra > Issue Type: Improvement >Reporter: Vladimir Yudovin >Priority: Minor > Attachments: ByteBufferUtils.diff, file_snitch.patch > > > When using GossipPropertyFileSnitch "nodetool status" shows default (from > cassandra-topology.properties ) datacenter/rack for offline nodes. > It happens because offline nodes are not in endpointMap, and thus > getRawEndpointInfo returns default DC/rack is returned > (PropertyFileSnitch.java). > I suggest to take info for those nodes from system.peers tables - just like > SELECT data_center,rack FROM system.peers WHERE peer='10.0.0.1' > Patch attached. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-8596) Display datacenter/rack info for offline nodes - PropertyFileSnitch
[ https://issues.apache.org/jira/browse/CASSANDRA-8596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Yudovin updated CASSANDRA-8596: Flags: Patch Attachment: file_snitch.patch -AbstractEndpointSnitch might be a better choice This class has no getDC/Rack methods. AbstractNetworkTopologySnitch has, but different snitches have their own implementations, like EC2Snitch. I uploaded new patch *file_snitch.patch*, with simpler implementation, like EC2Snitch. > Display datacenter/rack info for offline nodes - PropertyFileSnitch > --- > > Key: CASSANDRA-8596 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8596 > Project: Cassandra > Issue Type: Improvement >Reporter: Vladimir Yudovin >Priority: Minor > Attachments: ByteBufferUtils.diff, file_snitch.patch > > > When using GossipPropertyFileSnitch "nodetool status" shows default (from > cassandra-topology.properties ) datacenter/rack for offline nodes. > It happens because offline nodes are not in endpointMap, and thus > getRawEndpointInfo returns default DC/rack is returned > (PropertyFileSnitch.java). > I suggest to take info for those nodes from system.peers tables - just like > SELECT data_center,rack FROM system.peers WHERE peer='10.0.0.1' > Patch attached. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Updated] (CASSANDRA-8596) Display datacenter/rack info for offline nodes - PropertyFileSnitch
[ https://issues.apache.org/jira/browse/CASSANDRA-8596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vovodroid updated CASSANDRA-8596: - Attachment: (was: ByteBufferUtil.diff) Display datacenter/rack info for offline nodes - PropertyFileSnitch --- Key: CASSANDRA-8596 URL: https://issues.apache.org/jira/browse/CASSANDRA-8596 Project: Cassandra Issue Type: Improvement Components: Core Reporter: Vovodroid Priority: Minor Attachments: ByteBufferUtils.diff When using GossipPropertyFileSnitch nodetool status shows default (from cassandra-topology.properties ) datacenter/rack for offline nodes. It happens because offline nodes are not in endpointMap, and thus getRawEndpointInfo returns default DC/rack is returned (PropertyFileSnitch.java). I suggest to take info for those nodes from system.peers tables - just like SELECT data_center,rack FROM system.peers WHERE peer='10.0.0.1' Patch attached. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CASSANDRA-8596) Display datacenter/rack info for offline nodes - PropertyFileSnitch
[ https://issues.apache.org/jira/browse/CASSANDRA-8596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vovodroid updated CASSANDRA-8596: - Attachment: ByteBufferUtils.diff Display datacenter/rack info for offline nodes - PropertyFileSnitch --- Key: CASSANDRA-8596 URL: https://issues.apache.org/jira/browse/CASSANDRA-8596 Project: Cassandra Issue Type: Improvement Components: Core Reporter: Vovodroid Priority: Minor Attachments: ByteBufferUtils.diff When using GossipPropertyFileSnitch nodetool status shows default (from cassandra-topology.properties ) datacenter/rack for offline nodes. It happens because offline nodes are not in endpointMap, and thus getRawEndpointInfo returns default DC/rack is returned (PropertyFileSnitch.java). I suggest to take info for those nodes from system.peers tables - just like SELECT data_center,rack FROM system.peers WHERE peer='10.0.0.1' Patch attached. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CASSANDRA-8596) Display datacenter/rack info for offline nodes - PropertyFileSnitch
[ https://issues.apache.org/jira/browse/CASSANDRA-8596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vovodroid updated CASSANDRA-8596: - Attachment: (was: ByteBufferUtil.diff) Display datacenter/rack info for offline nodes - PropertyFileSnitch --- Key: CASSANDRA-8596 URL: https://issues.apache.org/jira/browse/CASSANDRA-8596 Project: Cassandra Issue Type: Improvement Components: Core Reporter: Vovodroid Priority: Minor Attachments: ByteBufferUtil.diff When using GossipPropertyFileSnitch nodetool status shows default (from cassandra-topology.properties ) datacenter/rack for offline nodes. It happens because offline nodes are not in endpointMap, and thus getRawEndpointInfo returns default DC/rack is returned (PropertyFileSnitch.java). I suggest to take info for those nodes from system.peers tables - just like SELECT data_center,rack FROM system.peers WHERE peer='10.0.0.1' Patch attached. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CASSANDRA-8596) Display datacenter/rack info for offline nodes - PropertyFileSnitch
[ https://issues.apache.org/jira/browse/CASSANDRA-8596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vovodroid updated CASSANDRA-8596: - Attachment: (was: 8596.diff) Display datacenter/rack info for offline nodes - PropertyFileSnitch --- Key: CASSANDRA-8596 URL: https://issues.apache.org/jira/browse/CASSANDRA-8596 Project: Cassandra Issue Type: Improvement Components: Core Reporter: Vovodroid Priority: Minor Attachments: ByteBufferUtil.diff When using GossipPropertyFileSnitch nodetool status shows default (from cassandra-topology.properties ) datacenter/rack for offline nodes. It happens because offline nodes are not in endpointMap, and thus getRawEndpointInfo returns default DC/rack is returned (PropertyFileSnitch.java). I suggest to take info for those nodes from system.peers tables - just like SELECT data_center,rack FROM system.peers WHERE peer='10.0.0.1' Patch attached. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CASSANDRA-8596) Display datacenter/rack info for offline nodes - PropertyFileSnitch
[ https://issues.apache.org/jira/browse/CASSANDRA-8596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vovodroid updated CASSANDRA-8596: - Attachment: ByteBufferUtil.diff Display datacenter/rack info for offline nodes - PropertyFileSnitch --- Key: CASSANDRA-8596 URL: https://issues.apache.org/jira/browse/CASSANDRA-8596 Project: Cassandra Issue Type: Improvement Components: Core Reporter: Vovodroid Priority: Minor Attachments: ByteBufferUtil.diff When using GossipPropertyFileSnitch nodetool status shows default (from cassandra-topology.properties ) datacenter/rack for offline nodes. It happens because offline nodes are not in endpointMap, and thus getRawEndpointInfo returns default DC/rack is returned (PropertyFileSnitch.java). I suggest to take info for those nodes from system.peers tables - just like SELECT data_center,rack FROM system.peers WHERE peer='10.0.0.1' Patch attached. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CASSANDRA-8596) Display datacenter/rack info for offline nodes - PropertyFileSnitch
[ https://issues.apache.org/jira/browse/CASSANDRA-8596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vovodroid updated CASSANDRA-8596: - Attachment: ByteBufferUtil.diff Display datacenter/rack info for offline nodes - PropertyFileSnitch --- Key: CASSANDRA-8596 URL: https://issues.apache.org/jira/browse/CASSANDRA-8596 Project: Cassandra Issue Type: Improvement Components: Core Reporter: Vovodroid Priority: Minor Attachments: ByteBufferUtil.diff When using GossipPropertyFileSnitch nodetool status shows default (from cassandra-topology.properties ) datacenter/rack for offline nodes. It happens because offline nodes are not in endpointMap, and thus getRawEndpointInfo returns default DC/rack is returned (PropertyFileSnitch.java). I suggest to take info for those nodes from system.peers tables - just like SELECT data_center,rack FROM system.peers WHERE peer='10.0.0.1' Patch attached. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CASSANDRA-8596) Display datacenter/rack info for offline nodes - PropertyFileSnitch
[ https://issues.apache.org/jira/browse/CASSANDRA-8596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vova updated CASSANDRA-8596: Attachment: (was: status.diff) Display datacenter/rack info for offline nodes - PropertyFileSnitch --- Key: CASSANDRA-8596 URL: https://issues.apache.org/jira/browse/CASSANDRA-8596 Project: Cassandra Issue Type: Improvement Components: Core Reporter: Vova Priority: Minor Attachments: 8596.diff When using GossipPropertyFileSnitch nodetool status shows default (from cassandra-topology.properties ) datacenter/rack for offline nodes. It happens because offline nodes are not in endpointMap, and thus getRawEndpointInfo returns default DC/rack is returned (PropertyFileSnitch.java). I suggest to take info for those nodes from system.peers tables - just like SELECT data_center,rack FROM system.peers WHERE peer='10.0.0.1' Patch attached. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CASSANDRA-8596) Display datacenter/rack info for offline nodes - PropertyFileSnitch
[ https://issues.apache.org/jira/browse/CASSANDRA-8596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vova updated CASSANDRA-8596: Attachment: 8596.diff Display datacenter/rack info for offline nodes - PropertyFileSnitch --- Key: CASSANDRA-8596 URL: https://issues.apache.org/jira/browse/CASSANDRA-8596 Project: Cassandra Issue Type: Improvement Components: Core Reporter: Vova Priority: Minor Attachments: 8596.diff When using GossipPropertyFileSnitch nodetool status shows default (from cassandra-topology.properties ) datacenter/rack for offline nodes. It happens because offline nodes are not in endpointMap, and thus getRawEndpointInfo returns default DC/rack is returned (PropertyFileSnitch.java). I suggest to take info for those nodes from system.peers tables - just like SELECT data_center,rack FROM system.peers WHERE peer='10.0.0.1' Patch attached. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (CASSANDRA-8596) Display datacenter/rack info for offline nodes - PropertyFileSnitch
[ https://issues.apache.org/jira/browse/CASSANDRA-8596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-8596: -- Reviewer: Brandon Williams [~brandon.williams] to review Display datacenter/rack info for offline nodes - PropertyFileSnitch --- Key: CASSANDRA-8596 URL: https://issues.apache.org/jira/browse/CASSANDRA-8596 Project: Cassandra Issue Type: Improvement Components: Core Reporter: Vova Priority: Minor Attachments: status.diff When using GossipPropertyFileSnitch nodetool status shows default (from cassandra-topology.properties ) datacenter/rack for offline nodes. It happens because offline nodes are not in endpointMap, and thus getRawEndpointInfo returns default DC/rack is returned (PropertyFileSnitch.java). I suggest to take info for those nodes from system.peers tables - just like SELECT data_center,rack FROM system.peers WHERE peer='10.0.0.1' Patch attached. -- This message was sent by Atlassian JIRA (v6.3.4#6332)