title: how to query from Beeline without authentication
body: <p>I am writing an automation batch script that will check beeline status in a scheduled interval of time.<br>
  I have written the code below to do this, but the problem is that, it seems the edge nodes of my cluster requires password to run the beeline command.<br>
  Code:  </p>
  
  <pre><code>for node in `cat /root/myscripts/edgeNodes.txt`
  do
  ssh ${node} "beeline -u  jdbc:hive2://${node}:10000/default -n $usrnm -p $pwd -e 'select  col1 , col2 from my_tab limit 3;'" &gt;&gt; /root/report/beeline_report.txt
  done
  </code></pre>
  
  <p>The <code>-n $ntid -p $pwd</code> is where the roadblock is. Right now I'm passing the username and password as my parameters, but while deploying it I can't hardcode my password in this script as the script is automated and doesn't require human inputs (I will have to remove the <code>-n $ntid -p $pwd</code> part. Also the passwords keep changing every month).<br>
  Is there a way to change the Beeline configurations to remove the authentication requirement? If yes, then how should I proceed, which files do I make changes to ?<br>
  Please help,<br>
  Regards.</p>