<?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: When the table's new record count updated, we unable to get the incremental record count  after Kerberos Authentication implementation and Ranger Installation in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Incremental-record-count-after-Kerberos-Authentication/m-p/373066#M241478</link>
    <description>&lt;P&gt;Thank you for the support comment. still issue not fixed. i think there is an issue in count1 and count2 getting commands. Please support?&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jun 2023 07:18:28 GMT</pubDate>
    <dc:creator>Choolake</dc:creator>
    <dc:date>2023-06-22T07:18:28Z</dc:date>
    <item>
      <title>Incremental record count after Kerberos Authentication implementation and Ranger Installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Incremental-record-count-after-Kerberos-Authentication/m-p/372881#M241406</link>
      <description>&lt;P&gt;Hi.....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are using following commands to get the updated records count in our table&amp;nbsp;&lt;SPAN&gt;after Kerberos Authentication implementation and Ranger Installation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;We get count1 variable before&amp;nbsp;update the table&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;count1=$(beeline -u "jdbc:hive2://dev-lisa.realm.com:10000/default;principal=hive/dev-lisa.intranet.slt.com.lk@REALM.COM;ssl=true;sslTrustStore=/var/lib/cloudera-scm-agent/agent-cert/cm-auto-global_truststore.jks" -n hadoopuser02 -e 'SELECT count(*) from table_name; ')&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;U&gt;&lt;STRONG&gt;We get count2 variable after update the table&lt;/STRONG&gt;&lt;/U&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;count2=$(beeline -u "jdbc:hive2://dev-lisa.realm.com:10000/default;principal=hive/dev-lisa.intranet.slt.com.lk@REALM.COM;ssl=true;sslTrustStore=/var/lib/cloudera-scm-agent/agent-cert/cm-auto-global_truststore.jks" -n hadoopuser02 -e 'SELECT count(*) from table_name; ')&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;entries=$(echo "$count2-$count1")&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;we unable to get the "entries" value into variable. please support to fix this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 06:52:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Incremental-record-count-after-Kerberos-Authentication/m-p/372881#M241406</guid>
      <dc:creator>Choolake</dc:creator>
      <dc:date>2026-04-21T06:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: When the table's new record count updated, we unable to get the incremental record count  after Kerberos Authentication implementation and Ranger Installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Incremental-record-count-after-Kerberos-Authentication/m-p/373015#M241463</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/19834"&gt;@Choolake&lt;/a&gt;&amp;nbsp;Try :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;entries=$((count2-count1))&lt;/LI-CODE&gt;&lt;P&gt;This should work provided we have valid values on both variables.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 13:39:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Incremental-record-count-after-Kerberos-Authentication/m-p/373015#M241463</guid>
      <dc:creator>smruti</dc:creator>
      <dc:date>2023-06-21T13:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: When the table's new record count updated, we unable to get the incremental record count  after Kerberos Authentication implementation and Ranger Installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Incremental-record-count-after-Kerberos-Authentication/m-p/373066#M241478</link>
      <description>&lt;P&gt;Thank you for the support comment. still issue not fixed. i think there is an issue in count1 and count2 getting commands. Please support?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 07:18:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Incremental-record-count-after-Kerberos-Authentication/m-p/373066#M241478</guid>
      <dc:creator>Choolake</dc:creator>
      <dc:date>2023-06-22T07:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental record count after Kerberos Authentication implementation and Ranger Installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Incremental-record-count-after-Kerberos-Authentication/m-p/373365#M241563</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/19834"&gt;@Choolake&lt;/a&gt;&amp;nbsp;Try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;count1=$(beeline -u "jdbc:hive2://dev-lisa.realm.com:10000/default;principal=hive/dev-lisa.intranet.slt.com.lk@REALM.COM;ssl=true;sslTrustStore=/var/lib/cloudera-scm-agent/agent-cert/cm-auto-global_truststore.jks" --showHeader=false --silent=true --outputformat=tsv2 -e 'SELECT count(*) from table_name;')
 &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;These beeline flags will remove all the unnecessary texts from the stdout. Compute &lt;STRONG&gt;count2&lt;/STRONG&gt; the same way.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 18:31:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Incremental-record-count-after-Kerberos-Authentication/m-p/373365#M241563</guid>
      <dc:creator>smruti</dc:creator>
      <dc:date>2023-06-28T18:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental record count after Kerberos Authentication implementation and Ranger Installation</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Incremental-record-count-after-Kerberos-Authentication/m-p/373429#M241591</link>
      <description>&lt;P&gt;Great... Thank you very much!&lt;/P&gt;&lt;P&gt;it's working....&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 05:26:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Incremental-record-count-after-Kerberos-Authentication/m-p/373429#M241591</guid>
      <dc:creator>Choolake</dc:creator>
      <dc:date>2023-06-30T05:26:50Z</dc:date>
    </item>
  </channel>
</rss>

