<?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 Error while Creating an external table in hive to query hbase table in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-while-Creating-an-external-table-in-hive-to-query/m-p/338098#M232766</link>
    <description>&lt;P&gt;Creating an external table in hive to query hbase table in CDP 7&lt;/P&gt;
&lt;P&gt;CREATE EXTERNAL TABLE emp(id INT, empno INT,ename STRING,designation STRING, manager INT, salary INT,deptno INT) STORED BY "org.apache.hadoop.hive.hbase.HBaseStorageHandler" WITH SERDEPROPERTIES ( "hbase.columns.mapping" =':key,cf:empno,cf:enmae,cf:designation,cf:manager,cf:salary,cf:deptno') TBLPROPERTIES("hbase.table.name" = "emp_data");&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FAILED: Execution Error, return code 40000 from org.apache.hadoop.hive.ql.ddl.DDLTask. org/apache/hadoop/hbase/mapreduce/TableInputFormatBase&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;22/03/09 12:16:40 [HiveServer2-Background-Pool: Thread-25]: ERROR ql.Driver: FAILED: Execution Error, return code 40000 from org.apache.hadoop.hive.ql.ddl.DDLTask. org/apache/hadoop/hbase/mapreduce/TableInputFormatBase&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OK&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 07:59:54 GMT</pubDate>
    <dc:creator>M129</dc:creator>
    <dc:date>2026-04-21T07:59:54Z</dc:date>
    <item>
      <title>Error while Creating an external table in hive to query hbase table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-while-Creating-an-external-table-in-hive-to-query/m-p/338098#M232766</link>
      <description>&lt;P&gt;Creating an external table in hive to query hbase table in CDP 7&lt;/P&gt;
&lt;P&gt;CREATE EXTERNAL TABLE emp(id INT, empno INT,ename STRING,designation STRING, manager INT, salary INT,deptno INT) STORED BY "org.apache.hadoop.hive.hbase.HBaseStorageHandler" WITH SERDEPROPERTIES ( "hbase.columns.mapping" =':key,cf:empno,cf:enmae,cf:designation,cf:manager,cf:salary,cf:deptno') TBLPROPERTIES("hbase.table.name" = "emp_data");&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FAILED: Execution Error, return code 40000 from org.apache.hadoop.hive.ql.ddl.DDLTask. org/apache/hadoop/hbase/mapreduce/TableInputFormatBase&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;22/03/09 12:16:40 [HiveServer2-Background-Pool: Thread-25]: ERROR ql.Driver: FAILED: Execution Error, return code 40000 from org.apache.hadoop.hive.ql.ddl.DDLTask. org/apache/hadoop/hbase/mapreduce/TableInputFormatBase&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OK&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 07:59:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-while-Creating-an-external-table-in-hive-to-query/m-p/338098#M232766</guid>
      <dc:creator>M129</dc:creator>
      <dc:date>2026-04-21T07:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error while Creating an external table in hive to query hbase table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-while-Creating-an-external-table-in-hive-to-query/m-p/338289#M232792</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96398"&gt;@M129&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;the error message is not too descriptive. Can you please check the HiveMetaStore logs what is the complete error message - and reason for the failure?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;Miklos&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 08:42:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-while-Creating-an-external-table-in-hive-to-query/m-p/338289#M232792</guid>
      <dc:creator>mszurap</dc:creator>
      <dc:date>2022-03-10T08:42:11Z</dc:date>
    </item>
  </channel>
</rss>

