title: what difference of managed and unmanaged hconnection in hbase?
body: <p>When i  tried to create a HTable instance in this way.</p>
  
  
  
  <pre><code>Configuration conf = HBaseConfiguration.create();
  HConnection conn = HConnectionManager.getConnection(conf);
  conn.getTable("TABLE_NAME");
  </code></pre>
  
  <p>Then i got a Exception.</p>
  
  <pre><code>    @Override
      public HTableInterface getTable(TableName tableName, ExecutorService pool) throws IOException {
        if (managed) {
          throw new IOException("The connection has to be unmanaged.");
        }
        return new HTable(tableName, this, pool);
      }
  </code></pre>
  
  <p>So , i wants to know the concrete reflection of managed and 'unmanaged'  Hconnection?</p>