<?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 Issue trying to insert into Managed Table from an External Table in Hive using beeline. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Issue-trying-to-insert-into-Managed-Table-from-an-External/m-p/391326#M247565</link>
    <description>&lt;P&gt;I'm trying to Insert into a table located in /warehouse/tablespace/managed/hive from a table located in&amp;nbsp;/warehouse/tablespace/external/hive using beeline.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I'm getting:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;ERROR : Status: Failed&lt;/DIV&gt;&lt;DIV&gt;ERROR : Vertex failed, vertexName=Map 1, vertexId=vertex_1707433862019_0104_2_00, diagnostics=[Vertex vertex_1707433862019_0104_2_00 [Map 1] killed/failed due to:ROOT_INPUT_INIT_FAILURE, Vertex Input: countries_src_ap initializer failed, vertex=vertex_1707433862019_0104_2_00 [Map 1], org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=16, exceptions:&lt;/DIV&gt;&lt;DIV&gt;2024-08-02T20:24:47.396Z, java.net.SocketTimeoutException: callTimeout=60000, callDuration=68708: Call to HOST/IP HOST:16020 failed on local exception: org.apache.hadoop.hbase.exceptions.ConnectionClosedException: Connection closed row 'countries_src,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=HOST_NAME,16020,1722553888133, seqNum=-1&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.throwEnrichedException(RpcRetryingCallerWithReadReplicas.java:299)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:251)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:58)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Select * from both tables works fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;INSERT OVERWRITE TABLE &amp;lt;Managed_Table&amp;gt;&amp;nbsp;&lt;BR /&gt;SELECT FROM .... &amp;lt;External_Table&amp;gt;&amp;nbsp; ... Fails.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any Idea?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 06:27:50 GMT</pubDate>
    <dc:creator>Marks_08</dc:creator>
    <dc:date>2026-04-21T06:27:50Z</dc:date>
    <item>
      <title>Issue trying to insert into Managed Table from an External Table in Hive using beeline.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Issue-trying-to-insert-into-Managed-Table-from-an-External/m-p/391326#M247565</link>
      <description>&lt;P&gt;I'm trying to Insert into a table located in /warehouse/tablespace/managed/hive from a table located in&amp;nbsp;/warehouse/tablespace/external/hive using beeline.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I'm getting:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;ERROR : Status: Failed&lt;/DIV&gt;&lt;DIV&gt;ERROR : Vertex failed, vertexName=Map 1, vertexId=vertex_1707433862019_0104_2_00, diagnostics=[Vertex vertex_1707433862019_0104_2_00 [Map 1] killed/failed due to:ROOT_INPUT_INIT_FAILURE, Vertex Input: countries_src_ap initializer failed, vertex=vertex_1707433862019_0104_2_00 [Map 1], org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=16, exceptions:&lt;/DIV&gt;&lt;DIV&gt;2024-08-02T20:24:47.396Z, java.net.SocketTimeoutException: callTimeout=60000, callDuration=68708: Call to HOST/IP HOST:16020 failed on local exception: org.apache.hadoop.hbase.exceptions.ConnectionClosedException: Connection closed row 'countries_src,,' on table 'hbase:meta' at region=hbase:meta,,1.1588230740, hostname=HOST_NAME,16020,1722553888133, seqNum=-1&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.throwEnrichedException(RpcRetryingCallerWithReadReplicas.java:299)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:251)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(ScannerCallableWithReplicas.java:58)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Select * from both tables works fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;INSERT OVERWRITE TABLE &amp;lt;Managed_Table&amp;gt;&amp;nbsp;&lt;BR /&gt;SELECT FROM .... &amp;lt;External_Table&amp;gt;&amp;nbsp; ... Fails.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any Idea?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 06:27:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Issue-trying-to-insert-into-Managed-Table-from-an-External/m-p/391326#M247565</guid>
      <dc:creator>Marks_08</dc:creator>
      <dc:date>2026-04-21T06:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue trying to insert into Managed Table from an External Table in Hive using beeline.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Issue-trying-to-insert-into-Managed-Table-from-an-External/m-p/391329#M247568</link>
      <description>&lt;P&gt;Hi, it seems like your external table is on top of the HBase table, you can check the application logs and see which container is failing and on which node and look into that node manager logs.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2024 04:34:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Issue-trying-to-insert-into-Managed-Table-from-an-External/m-p/391329#M247568</guid>
      <dc:creator>cloude</dc:creator>
      <dc:date>2024-08-03T04:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue trying to insert into Managed Table from an External Table in Hive using beeline.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Issue-trying-to-insert-into-Managed-Table-from-an-External/m-p/393379#M248433</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/110271"&gt;@Marks_08&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;In Hive is HBase dependency is enabled? If No, can you follow the below doc&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs.cloudera.com/cdp-private-cloud-base/7.1.6/accessing-hbase/topics/hbase-configure-hive-hbase-pvc.html" target="_blank"&gt;https://docs.cloudera.com/cdp-private-cloud-base/7.1.6/accessing-hbase/topics/hbase-configure-hive-hbase-pvc.html&lt;/A&gt;&lt;BR /&gt;If yes, we require the complete HS2 logs as well as the Yarn application logs to troubleshoot further.&lt;BR /&gt;Along with that share us the DDL for both Managed and external tables&lt;BR /&gt;DESCRIBE FORMATTED &amp;lt;TABLE_NAME&amp;gt;;&lt;BR /&gt;SHOW CREATE&amp;nbsp; TABLE&amp;nbsp;&amp;lt;TABLE_NAME&amp;gt;;&lt;BR /&gt;&lt;BR /&gt;Replace&amp;nbsp;TABLE_NAME with the managed and external tables.&lt;BR /&gt;&lt;BR /&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 13:29:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Issue-trying-to-insert-into-Managed-Table-from-an-External/m-p/393379#M248433</guid>
      <dc:creator>Mounika_Reddy</dc:creator>
      <dc:date>2024-09-11T13:29:54Z</dc:date>
    </item>
  </channel>
</rss>

