<?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 NN / Hive Audit Error - Ranger DB on Oracle in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NN-Hive-Audit-Error-Ranger-DB-on-Oracle/m-p/149010#M111536</link>
    <description>&lt;P&gt;We are running Ranger on Oracle.
Faced a common error (NN logs and Hive logs)&lt;/P&gt;&lt;P&gt;ORA-12899: Value too large for column "RANGERDBA"."XA.AUDIT"."REQUEST.DATA" (actual: 2465, maximum:2000)&lt;/P&gt;&lt;P&gt;We changed the REQUEST_DATA to VARCHAR2(3000) from VARCHAR2(2000)&lt;/P&gt;&lt;P&gt;Now the new error is &lt;/P&gt;&lt;P&gt;ORA-12899: Value too large for column "RANGERDBA"."XA.AUDIT"."REQUEST.DATA" (actual: 3465, maximum:3000)&lt;/P&gt;&lt;P&gt;
This a a fresh Installation on Oracle only and not migrated from MySql.
In my past exp we had the same issue where the DB was migrated from MySql and there were some NON ASCII chars .. we fixed it by changing to VARCHAR2 (2000 CHAR)  from VARCHAR2(2000).&lt;/P&gt;&lt;P&gt;Will the same solution be able to fix this.
What can cause this issue.&lt;/P&gt;&lt;P&gt;Thanks
Mayank&lt;/P&gt;</description>
    <pubDate>Tue, 13 Sep 2016 21:24:26 GMT</pubDate>
    <dc:creator>mkataria</dc:creator>
    <dc:date>2016-09-13T21:24:26Z</dc:date>
    <item>
      <title>NN / Hive Audit Error - Ranger DB on Oracle</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NN-Hive-Audit-Error-Ranger-DB-on-Oracle/m-p/149010#M111536</link>
      <description>&lt;P&gt;We are running Ranger on Oracle.
Faced a common error (NN logs and Hive logs)&lt;/P&gt;&lt;P&gt;ORA-12899: Value too large for column "RANGERDBA"."XA.AUDIT"."REQUEST.DATA" (actual: 2465, maximum:2000)&lt;/P&gt;&lt;P&gt;We changed the REQUEST_DATA to VARCHAR2(3000) from VARCHAR2(2000)&lt;/P&gt;&lt;P&gt;Now the new error is &lt;/P&gt;&lt;P&gt;ORA-12899: Value too large for column "RANGERDBA"."XA.AUDIT"."REQUEST.DATA" (actual: 3465, maximum:3000)&lt;/P&gt;&lt;P&gt;
This a a fresh Installation on Oracle only and not migrated from MySql.
In my past exp we had the same issue where the DB was migrated from MySql and there were some NON ASCII chars .. we fixed it by changing to VARCHAR2 (2000 CHAR)  from VARCHAR2(2000).&lt;/P&gt;&lt;P&gt;Will the same solution be able to fix this.
What can cause this issue.&lt;/P&gt;&lt;P&gt;Thanks
Mayank&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 21:24:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NN-Hive-Audit-Error-Ranger-DB-on-Oracle/m-p/149010#M111536</guid>
      <dc:creator>mkataria</dc:creator>
      <dc:date>2016-09-13T21:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: NN / Hive Audit Error - Ranger DB on Oracle</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NN-Hive-Audit-Error-Ranger-DB-on-Oracle/m-p/149011#M111537</link>
      <description>&lt;P&gt;What is the version of Ranger ? &lt;/P&gt;&lt;P&gt;Also, Can you try this ? :   ALTER TABLE XA_ACCESS_AUDIT modify(REQUEST_DATA VARCHAR(4000) DEFAULT NULL,RESOURCE_PATH VARCHAR(4000) DEFAULT NULL)&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 21:39:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NN-Hive-Audit-Error-Ranger-DB-on-Oracle/m-p/149011#M111537</guid>
      <dc:creator>pagrawa</dc:creator>
      <dc:date>2016-09-13T21:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: NN / Hive Audit Error - Ranger DB on Oracle</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NN-Hive-Audit-Error-Ranger-DB-on-Oracle/m-p/149012#M111538</link>
      <description>&lt;P&gt;Ranger 0.5.0.2.4&lt;/P&gt;&lt;P&gt;Will try your suggestion, however since the org error was ((actual: 2465, maximum:2000), do we still need to take it to 4000&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 21:47:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NN-Hive-Audit-Error-Ranger-DB-on-Oracle/m-p/149012#M111538</guid>
      <dc:creator>mkataria</dc:creator>
      <dc:date>2016-09-13T21:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: NN / Hive Audit Error - Ranger DB on Oracle</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NN-Hive-Audit-Error-Ranger-DB-on-Oracle/m-p/149013#M111539</link>
      <description>&lt;P&gt;This shall allow you to store column value larger than 2465 in future(if required) &lt;/P&gt;&lt;P&gt;Ranger end &lt;A href="https://github.com/apache/incubator-ranger/blob/ranger-0.5/security-admin/db/oracle/patches/audit/011-auditcolumnssize.sql"&gt; patch&lt;/A&gt; is doing the same. &lt;/P&gt;&lt;P&gt;Let me know if it fails after increasing column length to 4000.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 21:58:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NN-Hive-Audit-Error-Ranger-DB-on-Oracle/m-p/149013#M111539</guid>
      <dc:creator>pagrawa</dc:creator>
      <dc:date>2016-09-13T21:58:34Z</dc:date>
    </item>
  </channel>
</rss>

