title: java.net.UnknownHostException: <CLUSTER_NAME>on HA cluster while connecting hive from local machine
body: <p>I tried to connect hadoop cluster from my local machine but getting the following given below error</p>
  
  <pre><code>[ashsshar@slc01nwj work]$ hive --config /&lt;hive_conf_file_location&gt;/conf -S -f /&lt;hive_scirpt&gt;
   1 2.0.0-cdh4.2.0 
  FAILED: IllegalArgumentException java.net.UnknownHostException: &lt;cluster_name&gt;
  [ashsshar@slc01nwj work]$ 
  </code></pre>
  
  <p>I also tried executing the same hive script on hadoop cluster that worked fine.</p>