<?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 HIVE error while accessing Ambari views in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-while-accessing-Ambari-views/m-p/171762#M50130</link>
    <description>&lt;P&gt;Below is the error while accessing ambari hive view
"Table 'ambari.DS_JOBIMPL_xxx' doesn't exist"
Do we need to create table prior accessing ambari hive view? I do not see any step for the same in link below -
&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_ambari_views_guide/content/_configuring_your_cluster_for_hive_view.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_ambari_views_guide/content/_configuring_your_cluster_for_hive_view.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Dec 2016 18:29:41 GMT</pubDate>
    <dc:creator>chennuri_gouris</dc:creator>
    <dc:date>2016-12-26T18:29:41Z</dc:date>
    <item>
      <title>HIVE error while accessing Ambari views</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-while-accessing-Ambari-views/m-p/171762#M50130</link>
      <description>&lt;P&gt;Below is the error while accessing ambari hive view
"Table 'ambari.DS_JOBIMPL_xxx' doesn't exist"
Do we need to create table prior accessing ambari hive view? I do not see any step for the same in link below -
&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_ambari_views_guide/content/_configuring_your_cluster_for_hive_view.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.0.0/bk_ambari_views_guide/content/_configuring_your_cluster_for_hive_view.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2016 18:29:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-while-accessing-Ambari-views/m-p/171762#M50130</guid>
      <dc:creator>chennuri_gouris</dc:creator>
      <dc:date>2016-12-26T18:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE error while accessing Ambari views</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-while-accessing-Ambari-views/m-p/171763#M50131</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2403/chennurigourishankar.html" nodeid="2403"&gt;@chennuri gouri shankar&lt;/A&gt;&lt;/P&gt;&lt;P&gt; This seems to be a BUG -  (Hortonworks Bug Id# BUG-40804). This issue is related to table DS_JOBIMPL_&amp;lt;xxxx&amp;gt; not being created.  This is because MySql is looking for the range between 0-65535 and the create table syntax for the above table has VARCHAR(4000) 18 times which accounts to 78000 which is more than what MySql is looking for.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;You can try workaround below -&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;WORKAROUND:  Please follow the steps below:
1. Copy the table name from the exception received. 
2. Using Mysql client, login to MySql server and go to the database using 'use &amp;lt;databasename&amp;gt;' and copy command below (replacing table name with required in 1st step)
CREATE TABLE DS_JOBIMPL_&amp;lt;REPLACE THIS WITH ACTUAL TABLE NAME&amp;gt; (
    ds_id character varying(255) NOT NULL,
    ds_applicationid character varying(2800),
    ds_conffile character varying(2800),
    ds_dagid character varying(2800),
    ds_dagname character varying(2800),
    ds_database character varying(2800),
    ds_datesubmitted bigint,
    ds_duration bigint,
    ds_forcedcontent character varying(2800),
    ds_globalsettings character varying(2800),
    ds_logfile character varying(2800),
    ds_owner character varying(2800),
    ds_queryfile character varying(2800),
    ds_queryid character varying(2800),
    ds_referrer character varying(2800),
    ds_sessiontag character varying(2800),
    ds_sqlstate character varying(2800),
    ds_status character varying(2800),
    ds_statusdir character varying(2800),
    ds_statusmessage character varying(2800),
    ds_title character varying(2800)
);


This should help to address the issue.
&lt;/PRE&gt;</description>
      <pubDate>Mon, 26 Dec 2016 18:32:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-while-accessing-Ambari-views/m-p/171763#M50131</guid>
      <dc:creator>sshimpi</dc:creator>
      <dc:date>2016-12-26T18:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: HIVE error while accessing Ambari views</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-while-accessing-Ambari-views/m-p/171764#M50132</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2403/chennurigourishankar.html" nodeid="2403"&gt;@chennuri gouri shankar&lt;/A&gt;&lt;P&gt;This is a known issue with the Ambari version if the database used is MySQL. Manually create the required table by using the following create table statement:&lt;/P&gt;&lt;P&gt;
CREATE TABLE DS_JOBIMPL_&lt;STRONG&gt;&amp;lt;REPLACE THIS WITH THE NUMBER IN THE ACTUAL TABLE NAME&amp;gt;&lt;/STRONG&gt; (
    ds_id character varying(255) NOT NULL,
    ds_applicationid character varying(2800),
    ds_conffile character varying(2800),
    ds_dagid character varying(2800),
    ds_dagname character varying(2800),
    ds_database character varying(2800),
    ds_datesubmitted bigint,
    ds_duration bigint,
    ds_forcedcontent character varying(2800),
    ds_globalsettings character varying(2800),
    ds_logfile character varying(2800),
    ds_owner character varying(2800),
    ds_queryfile character varying(2800),
    ds_queryid character varying(2800),
    ds_referrer character varying(2800),
    ds_sessiontag character varying(2800),
    ds_sqlstate character varying(2800),
    ds_status character varying(2800),
    ds_statusdir character varying(2800),
    ds_statusmessage character varying(2800),
    ds_title character varying(2800)
);&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2016 18:52:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HIVE-error-while-accessing-Ambari-views/m-p/171764#M50132</guid>
      <dc:creator>ssubhas</dc:creator>
      <dc:date>2016-12-26T18:52:07Z</dc:date>
    </item>
  </channel>
</rss>

