public static Connection createConnection() throws IOException {
    return createConnection(HBaseConfiguration.create());
  }
Create a new Connection instance using default HBaseConfiguration. Connection encapsulates all
housekeeping for a connection to the cluster. All tables and interfaces created from returned
connection share zookeeper connection, meta cache, and connections to region servers and
masters. <br>
The caller is responsible for calling {@link Connection#close()} on the returned connection
instance. Typical usage:

<pre>
try (Connection connection = ConnectionFactory.createConnection(conf);
  Table table = connection.getTable(TableName.valueOf("table1"))) {
  table.get(...);
  ...
}
</pre>

@return Connection object for <code>conf</code>
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionFactory.java