title: Simba][ImpalaJDBCDriver](500151) Error setting/closing session in Imapala jdbc connection
body: <p>I  am trying to connect to impala using JDBC connection.
  Imapala driver jar used is impalaJDBC41. 
  Error occured while creating connection object 'con'
  Error is -[Simba]ImpalaJDBCDriver Error setting/closing session in Imapala jdbc connection</p>
  
  <p>Code is as below:</p>
  
  <pre><code>import java.sql.Connection;    
  import java.sql.DriverManager;
  
  import java.sql.SQLException;
  import java.sql.Statement;
  
  public class JDBC_Connection1 {
      private static String driverName = "com.cloudera.impala.jdbc41.Driver";
      public static void main(String[] args) throws SQLException {
      try {
         Class.forName(driverName);
  
          } 
     catch (ClassNotFoundException e)
         {
              // TODO Auto-generated catch block
              e.printStackTrace();
              System.exit(1);
          }
           Connection con =   DriverManager.getConnection("jdbc:impala://host:25004/;principal=impala/host@abc.ENTERPRISENET.ORG");
           Statement stmt = con.createStatement();
           String tableName = "yogesh";
           stmt.executeQuery("drop table " + tableName);
      }
  
  }
  </code></pre>