<?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: Hive export encrypted table in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-export-encrypted-table/m-p/292663#M216238</link>
    <description>&lt;P&gt;Should have mentioned: this is my export command (beeline)&lt;/P&gt;&lt;P&gt;0: jdbc:hive2://myhiveserver,d&amp;gt; export table mydatabase.mytable to '/warehouse/tablespace/hive-export/username/tablename';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The HDFS encryption zone is on /warehouse/tablespace&lt;/P&gt;</description>
    <pubDate>Thu, 26 Mar 2020 18:47:47 GMT</pubDate>
    <dc:creator>Eric_Richardson</dc:creator>
    <dc:date>2020-03-26T18:47:47Z</dc:date>
    <item>
      <title>Hive export encrypted table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-export-encrypted-table/m-p/292662#M216237</link>
      <description>&lt;P&gt;Trying to export a hive table from an encrypted HDFS.&lt;/P&gt;&lt;P&gt;The distcp portion of the export fails. Every file segment throws one of these...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2020-03-26 14:36:17,124 ERROR [IPC Server handler 25 on 37768] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Task: attempt_1585157114387_3676_m_000000_0 - exited : java.io.IOException: File copy failed: hdfs://myserver/warehouse/tablespace/tmp/hive/e18e8f44-9d0e-4f10-9490-2703bbdc84e9/_tmp_space.db/7579e917-2de7-4923-887a-df739f3a98e1/000006_0 --&amp;gt; hdfs://myserver/warehouse/tablespace/hive-export/username/tablename/data/000006_0
	at org.apache.hadoop.tools.mapred.CopyMapper.copyFileWithRetry(CopyMapper.java:263)
	at org.apache.hadoop.tools.mapred.CopyMapper.map(CopyMapper.java:220)
	at org.apache.hadoop.tools.mapred.CopyMapper.map(CopyMapper.java:48)
	at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:146)
	at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:799)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:347)
	at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:174)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1730)
	at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:168)
Caused by: java.io.IOException: Couldn't run retriable-command: Copying hdfs://myserver/warehouse/tablespace/tmp/hive/e18e8f44-9d0e-4f10-9490-2703bbdc84e9/_tmp_space.db/7579e917-2de7-4923-887a-df739f3a98e1/000006_0 to hdfs://myserver/warehouse/tablespace/hive-export/username/tablename/data/000006_0
	at org.apache.hadoop.tools.util.RetriableCommand.execute(RetriableCommand.java:101)
	at org.apache.hadoop.tools.mapred.CopyMapper.copyFileWithRetry(CopyMapper.java:259)
	... 10 more
Caused by: java.io.IOException: Checksum mismatch between hdfs://myserver/warehouse/tablespace/tmp/hive/e18e8f44-9d0e-4f10-9490-2703bbdc84e9/_tmp_space.db/7579e917-2de7-4923-887a-df739f3a98e1/000006_0 and hdfs://myserver/warehouse/tablespace/hive-export/username/tablename/data/.distcp.tmp.attempt_1585157114387_3676_m_000000_0.
	at org.apache.hadoop.tools.mapred.RetriableFileCopyCommand.compareCheckSums(RetriableFileCopyCommand.java:261)
	at org.apache.hadoop.tools.mapred.RetriableFileCopyCommand.doCopy(RetriableFileCopyCommand.java:153)
	at org.apache.hadoop.tools.mapred.RetriableFileCopyCommand.doExecute(RetriableFileCopyCommand.java:115)
	at org.apache.hadoop.tools.util.RetriableCommand.execute(RetriableCommand.java:87)
	... 11 more&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:36:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-export-encrypted-table/m-p/292662#M216237</guid>
      <dc:creator>Eric_Richardson</dc:creator>
      <dc:date>2022-09-16T14:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hive export encrypted table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-export-encrypted-table/m-p/292663#M216238</link>
      <description>&lt;P&gt;Should have mentioned: this is my export command (beeline)&lt;/P&gt;&lt;P&gt;0: jdbc:hive2://myhiveserver,d&amp;gt; export table mydatabase.mytable to '/warehouse/tablespace/hive-export/username/tablename';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The HDFS encryption zone is on /warehouse/tablespace&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 18:47:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-export-encrypted-table/m-p/292663#M216238</guid>
      <dc:creator>Eric_Richardson</dc:creator>
      <dc:date>2020-03-26T18:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Hive export encrypted table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-export-encrypted-table/m-p/292668#M216243</link>
      <description>&lt;P&gt;hive &amp;gt; set distcp.options.skipcrccheck=;&lt;/P&gt;&lt;P&gt;hive &amp;gt; export ...blah, blah blah;&lt;/P&gt;&lt;P&gt;success!&lt;/P&gt;&lt;P&gt;Thanks to Cloudera Support, M. Green.&amp;nbsp; Super fast!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 20:20:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-export-encrypted-table/m-p/292668#M216243</guid>
      <dc:creator>Eric_Richardson</dc:creator>
      <dc:date>2020-03-26T20:20:21Z</dc:date>
    </item>
  </channel>
</rss>

