title: Unable to connect to hbase using phoenix jdbc driver (Can't get the locations error)
body: <p>I am working on hbase(1.2.6) with phoenix(4.10.0-Hbase-1.2).
  I am getting this error :</p>
  <blockquote>
  <p>org.apache.hadoop.hbase.client.RetriesExhaustedException: Can't get the locations error</p>
  </blockquote>
  <p>Below is my code through which I am trying to connect to hbase using phoenix:</p>
  <pre><code>Connection connection = DriverManager.getConnection(&quot;jdbc:phoenix:localhost&quot;); 
  </code></pre>
  <p>Below is my hdfs-site.xml file where I have made some changes:<br />
  <a href="https://i.stack.imgur.com/e4llm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e4llm.png" alt="enter image description here" /></a></p>
  <p>What changes I need to do? Please suggest..</p>