title: Can't Connect to BigTable using Connection Factory
body: <p>I am using a custom code to load HFiles directly into BigTable using the following API's
  <code>LoadIncrementalHFiles loader = new LoadIncrementalHFiles(conf);
  loader.doBulkLoad(new Path(inputPath), admin, table, regionLocator);</code>
  while using ConnectionFactory I am using the following function in the statement </p>
  
  <pre><code>Connection connection = ConnectionFactory.createConnection(conf, null, null);
  </code></pre>
  
  <p>which always returns the parameter <code>managed</code> as <code>false</code> but I am getting the following error while running it.</p>
  
  <pre><code>java.io.IOException: java.lang.reflect.InvocationTargetException
          at org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:240)
          at org.apache.hadoop.hbase.client.ConnectionManager.createConnection(ConnectionManager.java:431)
          at org.apache.hadoop.hbase.client.ConnectionManager.createConnection(ConnectionManager.java:424)
          at org.apache.hadoop.hbase.client.ConnectionManager.getConnectionInternal(ConnectionManager.java:302)
          at org.apache.hadoop.hbase.client.HBaseAdmin.&lt;init&gt;(HBaseAdmin.java:235)
          at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.initialize(LoadIncrementalHFiles.java:154)
          at org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.&lt;init&gt;(LoadIncrementalHFiles.java:144)
          at com.example.bigtable.sample.BigtableLoader.main(BigtableLoader.java:122)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:71)
          at org.apache.hadoop.util.ProgramDriver.run(ProgramDriver.java:144)
          at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:152)
          at com.example.bigtable.sample.BigtableDriver.main(BigtableDriver.java:18)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at org.apache.hadoop.hbase.client.ConnectionManager.createConnection(ConnectionManager.java:424)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:498)
          at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
          at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
          at com.google.cloud.hadoop.services.agent.job.shim.HadoopRunJarShim.main(HadoopRunJarShim.java:12)
  Caused by: java.lang.reflect.InvocationTargetException
          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
          at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
          at org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:238)
          ... 22 more
  Caused by: java.lang.IllegalArgumentException: Bigtable does not support managed connections.
          at org.apache.hadoop.hbase.client.AbstractBigtableConnection.&lt;init&gt;(AbstractBigtableConnection.java:130)
          at com.google.cloud.bigtable.hbase1_2.BigtableConnection.&lt;init&gt;(BigtableConnection.java:55)
          ... 27 more
  </code></pre>