title: com.datastax.driver.core.Metadata:getHosts() returning incorrect state
body: <p>Any reason why <code>com.datastax.driver.core.Metadata:getHosts()</code> would return state <code>UP</code> for a host that has shutdown? </p>
  
  <p>However, <code>nodetool status</code> returns <code>DN</code> for that host. </p>
  
  <p>No matter how many times I check <code>Host.getState()</code>, it still says <code>UP</code> for that dead host.</p>
  
  <p>This is how I'm querying <code>Metadata</code>:</p>
  
  <pre><code>cluster = DseCluster.builder()
      .addContactPoints("192.168.1.1", "192.168.1.2", "192.168.1.3")
      .withPort(9042)
      .withReconnectionPolicy(new ConstantReconnectionPolicy(2000))
      .build();
  
  cluster.getMetadata().getAllHosts();
  </code></pre>
  
  <p>EDIT: Updated code to reflect I'm trying to connect to 3 hosts. I should've stated that the cluster I'm connecting has 3 nodes, 2 in DC1 and another in DC2.</p>
  
  <p>Also, whenever I relaunch my Java process running this code, the behavior changes. Sometimes it gives me the right states, then when I restart it again, it gives me the wrong states, and so on.</p>