<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: HBase/Phoenix - How to specify autocommit in JDBC URL ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Phoenix-How-to-specify-autocommit-in-JDBC-URL/m-p/224167#M60736</link>
    <description>&lt;P&gt;Thank you. This solved the problem.&lt;/P&gt;</description>
    <pubDate>Tue, 09 May 2017 02:52:54 GMT</pubDate>
    <dc:creator>dineshc</dc:creator>
    <dc:date>2017-05-09T02:52:54Z</dc:date>
    <item>
      <title>HBase/Phoenix - How to specify autocommit in JDBC URL ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Phoenix-How-to-specify-autocommit-in-JDBC-URL/m-p/224164#M60733</link>
      <description>&lt;P&gt;I want to avoid setting auto-commit=true by default, thus I am not adding the required property in hbase-site.xml.&lt;/P&gt;&lt;P&gt;However, I want to add auto commit property to the jdbc url so that I can get a connection with autocommit=true on need basis.&lt;/P&gt;&lt;P&gt;I am not able to find how to add this property to connection url.&lt;/P&gt;&lt;P&gt;I have a kerberized cluster and I an using the following url:&lt;/P&gt;&lt;PRE&gt;jdbc:phoenix[:zk_quorum][:zk_port][:zk_hbase_path][:headless_keytab_file:principal]&lt;/PRE&gt;&lt;P&gt;I also tried the following approach but it did not connect due to malformed url:&lt;/P&gt;&lt;PRE&gt;jdbc:phoenix[:zk_quorum][:zk_port][:zk_hbase_path][:headless_keytab_file:principal][:AutoCommit=true]&lt;/PRE&gt;</description>
      <pubDate>Mon, 08 May 2017 22:07:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Phoenix-How-to-specify-autocommit-in-JDBC-URL/m-p/224164#M60733</guid>
      <dc:creator>dineshc</dc:creator>
      <dc:date>2017-05-08T22:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: HBase/Phoenix - How to specify autocommit in JDBC URL ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Phoenix-How-to-specify-autocommit-in-JDBC-URL/m-p/224165#M60734</link>
      <description>&lt;P&gt;Replace the colon with a
semi-colon in jdbc url and this will work:jdbc:phoenix[:zk_quorum][:zk_port][:zk_hbase_path][:headless_keytab_file:principal] [;autocommit=true]&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2017 22:11:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Phoenix-How-to-specify-autocommit-in-JDBC-URL/m-p/224165#M60734</guid>
      <dc:creator>sreeviswa_athic</dc:creator>
      <dc:date>2017-05-08T22:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: HBase/Phoenix - How to specify autocommit in JDBC URL ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Phoenix-How-to-specify-autocommit-in-JDBC-URL/m-p/224166#M60735</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/13511/dineshchitlangia.html" nodeid="13511"&gt;@Dinesh Chitlangia&lt;/A&gt;&lt;P&gt;you can use PhoenixRuntime.AUTO_COMMIT_ATTRIB as supported in following class.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/phoenix/blob/master/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java" target="_blank"&gt;https://github.com/apache/phoenix/blob/master/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please see the following JIRA to make sure you are using the version of Phoenix that supports it.&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/PHOENIX-1559" target="_blank"&gt;https://issues.apache.org/jira/browse/PHOENIX-1559&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2017 22:13:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Phoenix-How-to-specify-autocommit-in-JDBC-URL/m-p/224166#M60735</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2017-05-08T22:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: HBase/Phoenix - How to specify autocommit in JDBC URL ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Phoenix-How-to-specify-autocommit-in-JDBC-URL/m-p/224167#M60736</link>
      <description>&lt;P&gt;Thank you. This solved the problem.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 02:52:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-Phoenix-How-to-specify-autocommit-in-JDBC-URL/m-p/224167#M60736</guid>
      <dc:creator>dineshc</dc:creator>
      <dc:date>2017-05-09T02:52:54Z</dc:date>
    </item>
  </channel>
</rss>

